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

28 lines
726 B
Nix
Raw Normal View History

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