diff options
author | makefu <github@syntax-fehler.de> | 2015-08-28 23:39:37 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-08-28 23:39:37 +0200 |
commit | e5c6eae9896aeda68204bb7010a6e4e26d7eaca1 (patch) | |
tree | 0dcc367de6f6c1d978cabe3c3275395b1a1757b3 /Reaktor/default.nix | |
parent | 60367f4b7bf02b8c2ec074c5ccba6772d175caa9 (diff) |
Reaktor: add nix support, packaging
Diffstat (limited to 'Reaktor/default.nix')
-rw-r--r-- | Reaktor/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Reaktor/default.nix b/Reaktor/default.nix new file mode 100644 index 00000000..96e3b120 --- /dev/null +++ b/Reaktor/default.nix @@ -0,0 +1,15 @@ +with import <nixpkgs> {}; +# nix-shell --pure . +stdenv.mkDerivation rec { + name = "Reaktor-${version}"; + version = "0.2.6"; + buildInputs = with pkgs;[ + python34 + python34Packages.docopt + ]; + + shellHook ='' + [ ! -d venv ] && virtualenv --python=python3.4 venv + . venv/bin/activate + '' ; +} |