2018-12-01 20:54:27 +01:00
|
|
|
{ stdenv, fetchFromGitHub, perl }:
|
2014-09-10 14:14:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gecode-${version}";
|
2018-12-01 20:54:27 +01:00
|
|
|
version = "6.1.0";
|
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}";
|
|
|
|
sha256 = "1ijjy8ppx7djnkrkawsd00rmlf24qh1z13aap0h1azailw1pbrg4";
|
2014-09-10 14:14:41 +02:00
|
|
|
};
|
|
|
|
|
2017-03-12 22:21:13 +01:00
|
|
|
enableParallelBuilding = true;
|
2014-09-10 14:14:41 +02:00
|
|
|
buildInputs = [ perl ];
|
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;
|
2014-09-10 15:38:25 +02:00
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
};
|
2014-09-10 14:14:41 +02:00
|
|
|
}
|