mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
708 B
Nix
27 lines
708 B
Nix
{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gecode";
|
|
version = "6.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gecode";
|
|
repo = "gecode";
|
|
rev = "release-${version}";
|
|
sha256 = "0b1cq0c810j1xr2x9y9996p894571sdxng5h74py17c6nr8c6dmk";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
nativeBuildInputs = [ bison flex ];
|
|
buildInputs = [ perl gmp mpfr ]
|
|
++ stdenv.lib.optional enableGist qtbase;
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.mit;
|
|
homepage = https://www.gecode.org;
|
|
description = "Toolkit for developing constraint-based systems";
|
|
platforms = platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|