2021-02-09 00:03:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, flex, bison }:
|
2021-07-17 17:56:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "minizinc";
|
2021-07-17 17:56:23 +00:00
|
|
|
version = "2.5.5";
|
2016-09-06 04:16:42 +00:00
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake flex bison ];
|
2016-09-06 04:16:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MiniZinc";
|
|
|
|
repo = "libminizinc";
|
2020-08-09 09:10:01 +00:00
|
|
|
rev = version;
|
2021-03-22 12:14:15 +00:00
|
|
|
sha256 = "sha256-9z2E6KqOys9UUXlXWB4eDhg34kS3PhUB1Dd1F6iGYoE=";
|
2016-09-06 04:16:42 +00:00
|
|
|
};
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.minizinc.org/";
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "A medium-level constraint modelling language";
|
2016-09-06 04:16:42 +00:00
|
|
|
|
|
|
|
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;
|
2020-09-28 20:24:49 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-06 04:16:42 +00:00
|
|
|
maintainers = [ maintainers.sheenobu ];
|
|
|
|
};
|
|
|
|
}
|