94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
31 lines
913 B
Nix
31 lines
913 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, flex, bison }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "minizinc";
|
|
version = "2.7.4";
|
|
|
|
nativeBuildInputs = [ cmake flex bison ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MiniZinc";
|
|
repo = "libminizinc";
|
|
rev = version;
|
|
sha256 = "sha256-Zq5gAwe9IQmknSDilFyHhSk5ZCQ8EfBOiM6Oef2WxYg=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.minizinc.org/";
|
|
description = "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.unix;
|
|
maintainers = [ maintainers.sheenobu ];
|
|
};
|
|
}
|