1 { lib, mkDerivation, fetchFromGitHub, qtbase, qtwebengine, qtwebkit, qmake, minizinc }:
4 pname = "minizinc-ide";
7 src = fetchFromGitHub {
11 sha256 = "sha256-0U3KFRDam8psbCaEOcrwqzICAy1oBgo8SFEiR/PMqZk=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ qmake ];
16 buildInputs = [ qtbase qtwebengine qtwebkit ];
18 sourceRoot = "${src.name}/MiniZincIDE";
20 dontWrapQtApps = true;
23 wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${lib.makeBinPath [ minizinc ]}
27 homepage = "https://www.minizinc.org/";
28 description = "IDE for MiniZinc, a medium-level constraint modelling language";
30 MiniZinc is a medium-level constraint modelling
31 language. It is high-level enough to express most
32 constraint problems easily, but low-level enough
33 that it can be mapped onto existing solvers easily and consistently.
34 It is a subset of the higher-level language Zinc.
36 license = licenses.mpl20;
37 platforms = platforms.linux;
38 maintainers = [ maintainers.dtzWill ];