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:
parent
1151a0182d
commit
303e4d7f1a
|
@ -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;
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue