1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/minizinc/default.nix

36 lines
992 B
Nix
Raw Normal View History

2016-09-06 05:16:42 +01:00
{ stdenv, fetchFromGitHub, cmake, flex, bison }:
let
version = "2.2.0";
2016-09-06 05:16:42 +01:00
in
stdenv.mkDerivation {
name = "minizinc-${version}";
buildInputs = [ cmake flex bison ];
src = fetchFromGitHub {
rev = "${version}";
owner = "MiniZinc";
repo = "libminizinc";
sha256 = "05is1r5y06jfqwvka90dn2ffxnvbgyswaxl00aqz6455hnggnxvm";
2016-09-06 05:16:42 +01:00
};
# meta is all the information about the package..
meta = with stdenv.lib; {
homepage = http://www.minizinc.org/;
2016-09-06 05:16:42 +01:00
description = "MiniZinc is a medium-level constraint modelling language.";
longDescription = ''
MiniZinc is a medium-level constraint modelling
language. It is high-level enough to express most
constraint problems easily, but low-level enough
that it can be mapped onto existing solvers easily and consistently.
It is a subset of the higher-level language Zinc.
'';
license = licenses.mpl20;
platforms = platforms.linux;
maintainers = [ maintainers.sheenobu ];
};
}