2014-09-10 14:14:41 +02:00
|
|
|
{ stdenv, fetchurl, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gecode-${version}";
|
2017-03-12 22:21:13 +01:00
|
|
|
version = "5.0.0";
|
2014-09-10 14:14:41 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.gecode.org/download/${name}.tar.gz";
|
2017-03-12 22:21:13 +01:00
|
|
|
sha256 = "0yz7m4msp7g2jzsn216q74d9n7rv6qh8abcv0jdc1n7y2nhjzzzl";
|
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
|
|
|
}
|