hydra: fix build with gcc7, incl. libpqxx update

It builds, but it's otherwise untested.
This commit is contained in:
Vladimír Čunát
2018-02-23 17:08:09 +01:00
parent 36b0efc12f
commit 1dbb82848a
3 changed files with 11 additions and 20 deletions
+10 -6
View File
@@ -1,14 +1,18 @@
{ lib, stdenv, fetchurl, postgresql, python2, gnused }:
{ lib, stdenv, fetchFromGitHub, postgresql, python2, gnused }:
stdenv.mkDerivation rec {
name = "libpqxx-4.0.1";
name = "libpqxx-${version}";
version = "6.1.0";
src = fetchurl {
url = "http://pqxx.org/download/software/libpqxx/${name}.tar.gz";
sha256 = "0f6wxspp6rx12fkasanb0z2g2gc8dhcfwnxagx8wwqbpg6ifsz09";
src = fetchFromGitHub {
owner = "jtv";
repo = "libpqxx";
rev = version;
sha256 = "1dv96h10njg115216n2zm6fsvi4kb502hmhhn8cjhlfbxr9vc84q";
};
buildInputs = [ postgresql python2 gnused ];
nativeBuildInputs = [ gnused python2 ];
buildInputs = [ postgresql ];
preConfigure = ''
patchShebangs .