summaryrefslogtreecommitdiffstats
path: root/Reaktor/default.nix
blob: 96e3b120b6373c05728130ffd0371142d7c3b9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
    '' ;
}