d0d8e8fc71
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
34 lines
935 B
Nix
34 lines
935 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, flex, bison }:
|
|
let
|
|
version = "2.5.5";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "minizinc";
|
|
inherit version;
|
|
|
|
nativeBuildInputs = [ cmake flex bison ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MiniZinc";
|
|
repo = "libminizinc";
|
|
rev = version;
|
|
sha256 = "sha256-9z2E6KqOys9UUXlXWB4eDhg34kS3PhUB1Dd1F6iGYoE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|