Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 26 lines 717 B view raw
1{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }: 2 3stdenv.mkDerivation rec { 4 name = "gecode-${version}"; 5 version = "6.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "Gecode"; 9 repo = "gecode"; 10 rev = "release-${version}"; 11 sha256 = "1ijjy8ppx7djnkrkawsd00rmlf24qh1z13aap0h1azailw1pbrg4"; 12 }; 13 14 enableParallelBuilding = true; 15 nativeBuildInputs = [ bison flex ]; 16 buildInputs = [ perl gmp mpfr ] 17 ++ stdenv.lib.optional enableGist qtbase; 18 19 meta = with stdenv.lib; { 20 license = licenses.mit; 21 homepage = http://www.gecode.org; 22 description = "Toolkit for developing constraint-based systems"; 23 platforms = platforms.all; 24 maintainers = [ ]; 25 }; 26}