aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
blob: 8ecdd88a4391c82427d41f54c05c93e46380fd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
with import <nixpkgs> {};
# nix-shell --pure .
stdenv.mkDerivation rec {
    name = "Reaktor-${version}";
    version = "0.2.6";
    buildInputs = with pkgs;[
      python34
      python34Packages.docopt
      python34Packages.virtualenv
    ];

    shellHook =''
      [ ! -d venv ] && virtualenv --python=python3.4 venv
      . venv/bin/activate
    '' ;
}