aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..96e3b12
--- /dev/null
+++ b/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
+ '' ;
+}