mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
642943d584
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/minizinc/versions
36 lines
992 B
Nix
36 lines
992 B
Nix
{ stdenv, fetchFromGitHub, cmake, flex, bison }:
|
|
let
|
|
version = "2.2.1";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "minizinc-${version}";
|
|
|
|
buildInputs = [ cmake flex bison ];
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "${version}";
|
|
owner = "MiniZinc";
|
|
repo = "libminizinc";
|
|
sha256 = "1i11lan7fqs3lg0s6jfr8sflzwn5nk1ln5j6afjrkrdb08291dr7";
|
|
};
|
|
|
|
# meta is all the information about the package..
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.minizinc.org/;
|
|
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 ];
|
|
};
|
|
}
|
|
|