2018-12-01 20:07:37 +00:00
|
|
|
{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
2014-09-10 13:14:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gecode-${version}";
|
2018-12-01 19:54:27 +00:00
|
|
|
version = "6.1.0";
|
2014-09-10 13:14:41 +01:00
|
|
|
|
2018-12-01 19:54:27 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gecode";
|
|
|
|
repo = "gecode";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1ijjy8ppx7djnkrkawsd00rmlf24qh1z13aap0h1azailw1pbrg4";
|
2014-09-10 13:14:41 +01: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 ]
|
|
|
|
++ stdenv.lib.optional enableGist qtbase;
|
2014-09-10 14:38:25 +01:00
|
|
|
|
2014-09-10 15:15:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.mit;
|
2014-09-10 14:38:25 +01:00
|
|
|
homepage = http://www.gecode.org;
|
|
|
|
description = "Toolkit for developing constraint-based systems";
|
2014-09-10 15:15:24 +01:00
|
|
|
platforms = platforms.all;
|
2018-12-01 21:02:20 +00:00
|
|
|
maintainers = [ ];
|
2014-09-10 14:38:25 +01:00
|
|
|
};
|
2014-09-10 13:14:41 +01:00
|
|
|
}
|