aboutsummaryrefslogtreecommitdiff
path: root/minion
diff options
context:
space:
mode:
Diffstat (limited to 'minion')
-rw-r--r--minion/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/minion/default.nix b/minion/default.nix
new file mode 100644
index 0000000..180949d
--- /dev/null
+++ b/minion/default.nix
@@ -0,0 +1,29 @@
+let
+ pkgs = import <nixpkgs> {};
+
+in
+ { stdenv ? pkgs.stdenv
+ , fetchurl ? pkgs.fetchurl
+ }:
+
+ stdenv.mkDerivation rec {
+ name = "minion";
+ version = "1.8";
+
+ src = fetchurl {
+ url = https://blogs.cs.st-andrews.ac.uk/constraintmodelling/files/2015/06/minion-1.8-linux.tar_1.gz;
+ sha256 = "04d07mc5kffzfl3q56180kcxaixsaph9vdzcl3salpn2h9qjsnq3";
+ };
+
+ unpackCmd = ''
+ tar -xf $curSrc
+ '';
+
+ dontConfigure = true;
+ dontBuild = true;
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp ./bin/minion $out/bin/minion
+ '';
+ }