cleverca22
10/2/2016 - 6:57 PM

pie.nix

# nix-build -E 'with import <nixpkgs>{}; qt5.callPackage ./pie.nix {}'

{ stdenv, fetchFromGitHub, qtbase, qmakeHook, qtwebkit, full }:

stdenv.mkDerivation {
  name = "minizincide";
  src = fetchFromGitHub {
    owner = "MiniZinc";
    repo = "MiniZincIDE";
    rev = "02ca333faa33c68e2b750c625aeb8efae97b91c9";
    sha256 = "15nkdpcwvvk7bi9wz3z66rn9amj21ci538zjzvaf8rd0cskw7r4a";
  };
  preConfigure = "cd MiniZincIDE";

  buildInputs = [ qmakeHook qtbase qtwebkit full ];
}