2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gecode";
|
|
|
|
version = "6.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gecode";
|
|
|
|
repo = "gecode";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "0b1cq0c810j1xr2x9y9996p894571sdxng5h74py17c6nr8c6dmk";
|
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ bison flex ];
|
|
|
|
buildInputs = [ perl gmp mpfr ]
|
2021-02-05 17:12:51 +00:00
|
|
|
++ lib.optional enableGist qtbase;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://www.gecode.org";
|
|
|
|
description = "Toolkit for developing constraint-based systems";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|