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

27 lines
718 B
Nix
Raw Normal View History

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