nixpkgs/pkgs/development/tools/minizinc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
913 B
Nix
Raw Normal View History

2021-02-09 01:03:27 +01:00
{ lib, stdenv, fetchFromGitHub, cmake, flex, bison }:
2021-07-17 19:56:23 +02:00
stdenv.mkDerivation rec {
2019-08-13 23:52:01 +02:00
pname = "minizinc";
2022-03-23 22:44:49 +01:00
version = "2.6.2";
2016-09-06 06:16:42 +02:00
nativeBuildInputs = [ cmake flex bison ];
2016-09-06 06:16:42 +02:00
src = fetchFromGitHub {
owner = "MiniZinc";
repo = "libminizinc";
rev = version;
2022-03-23 22:44:49 +01:00
sha256 = "sha256-0yOZZJMDMmIBCJ2ZU3AfGvFSANqHNFN+UHYMI0nogOQ=";
2016-09-06 06:16:42 +02:00
};
meta = with lib; {
homepage = "https://www.minizinc.org/";
description = "A medium-level constraint modelling language";
2016-09-06 06:16:42 +02: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;
platforms = platforms.unix;
2016-09-06 06:16:42 +02:00
maintainers = [ maintainers.sheenobu ];
};
}