nixpkgs/pkgs/development/libraries/gecode/default.nix

27 lines
717 B
Nix
Raw Normal View History

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