2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
2014-09-10 12:14:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gecode";
|
2019-04-14 18:49:35 +00:00
|
|
|
version = "6.2.0";
|
2014-09-10 12:14:41 +00:00
|
|
|
|
2018-12-01 19:54:27 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gecode";
|
|
|
|
repo = "gecode";
|
|
|
|
rev = "release-${version}";
|
2019-04-14 18:49:35 +00:00
|
|
|
sha256 = "0b1cq0c810j1xr2x9y9996p894571sdxng5h74py17c6nr8c6dmk";
|
2014-09-10 12:14:41 +00:00
|
|
|
};
|
|
|
|
|
2017-03-12 21:21:13 +00:00
|
|
|
enableParallelBuilding = true;
|
2018-12-01 20:07:37 +00:00
|
|
|
nativeBuildInputs = [ bison flex ];
|
|
|
|
buildInputs = [ perl gmp mpfr ]
|
2021-01-21 17:00:13 +00:00
|
|
|
++ lib.optional enableGist qtbase;
|
2014-09-10 13:38:25 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-09-10 14:15:24 +00:00
|
|
|
license = licenses.mit;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gecode.org";
|
2014-09-10 13:38:25 +00:00
|
|
|
description = "Toolkit for developing constraint-based systems";
|
2014-09-10 14:15:24 +00:00
|
|
|
platforms = platforms.all;
|
2018-12-01 21:02:20 +00:00
|
|
|
maintainers = [ ];
|
2014-09-10 13:38:25 +00:00
|
|
|
};
|
2014-09-10 12:14:41 +00:00
|
|
|
}
|