mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
56e1fa2ad4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gecode/versions
27 lines
717 B
Nix
27 lines
717 B
Nix
{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gecode-${version}";
|
|
version = "6.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gecode";
|
|
repo = "gecode";
|
|
rev = "release-${version}";
|
|
sha256 = "07jyx17qsfx3wmd2zlcs0rxax8h3cs2g9aapxkdjdcsmfxsldqb7";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
nativeBuildInputs = [ bison flex ];
|
|
buildInputs = [ perl gmp mpfr ]
|
|
++ stdenv.lib.optional enableGist qtbase;
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.mit;
|
|
homepage = http://www.gecode.org;
|
|
description = "Toolkit for developing constraint-based systems";
|
|
platforms = platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|