Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 710 B view raw
1{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }: 2 3stdenv.mkDerivation rec { 4 pname = "gecode"; 5 version = "6.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "Gecode"; 9 repo = "gecode"; 10 rev = "release-${version}"; 11 sha256 = "0b1cq0c810j1xr2x9y9996p894571sdxng5h74py17c6nr8c6dmk"; 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 = "https://www.gecode.org"; 22 description = "Toolkit for developing constraint-based systems"; 23 platforms = platforms.all; 24 maintainers = [ ]; 25 }; 26}