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