3
0
Fork 0
forked from mirrors/nixpkgs

gecode: more deps, build w/gist support but make optional

Also rename "gecode_4" attribute since this is version 6?
This commit is contained in:
Will Dietz 2018-12-01 14:07:37 -06:00
parent 1151a0182d
commit 303e4d7f1a
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl }:
{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
stdenv.mkDerivation rec {
name = "gecode-${version}";
@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
};
enableParallelBuilding = true;
buildInputs = [ perl ];
nativeBuildInputs = [ bison flex ];
buildInputs = [ perl gmp mpfr ]
++ stdenv.lib.optional enableGist qtbase;
meta = with stdenv.lib; {
license = licenses.mit;

View file

@ -9714,8 +9714,8 @@ with pkgs;
gdbm = callPackage ../development/libraries/gdbm { };
gecode_3 = callPackage ../development/libraries/gecode/3.nix { };
gecode_4 = callPackage ../development/libraries/gecode { };
gecode = gecode_4;
gecode_6 = qt5.callPackage ../development/libraries/gecode { };
gecode = gecode_6;
gephi = callPackage ../applications/science/misc/gephi { };