2018-12-01 21:07:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
2014-09-10 14:14:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gecode-${version}";
|
2019-03-02 09:25:31 +01:00
|
|
|
version = "6.1.1";
|
2014-09-10 14:14:41 +02:00
|
|
|
|
2018-12-01 20:54:27 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gecode";
|
|
|
|
repo = "gecode";
|
|
|
|
rev = "release-${version}";
|
2019-03-02 09:25:31 +01:00
|
|
|
sha256 = "07jyx17qsfx3wmd2zlcs0rxax8h3cs2g9aapxkdjdcsmfxsldqb7";
|
2014-09-10 14:14:41 +02:00
|
|
|
};
|
|
|
|
|
2017-03-12 22:21:13 +01:00
|
|
|
enableParallelBuilding = true;
|
2018-12-01 21:07:37 +01:00
|
|
|
nativeBuildInputs = [ bison flex ];
|
|
|
|
buildInputs = [ perl gmp mpfr ]
|
|
|
|
++ stdenv.lib.optional enableGist qtbase;
|
2014-09-10 15:38:25 +02:00
|
|
|
|
2014-09-10 16:15:24 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.mit;
|
2014-09-10 15:38:25 +02:00
|
|
|
homepage = http://www.gecode.org;
|
|
|
|
description = "Toolkit for developing constraint-based systems";
|
2014-09-10 16:15:24 +02:00
|
|
|
platforms = platforms.all;
|
2018-12-01 22:02:20 +01:00
|
|
|
maintainers = [ ];
|
2014-09-10 15:38:25 +02:00
|
|
|
};
|
2014-09-10 14:14:41 +02:00
|
|
|
}
|