summary refs log tree commit diff
path: root/pkgs/development/interpreters/pyrex/0.9.5.nix
blob: 415ed78f117b56fd15501b8b77cf9d252925027a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
args: with args;

let

  localDefs = builderDefs.passthru.function {

    src = fetchurl {
      url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.5.1.1.tar.gz;
      sha256 = "0lxxvn4mjfb83swcbqb5908q4iy53w4ip5i0f9angm2va1jyhd3z";
    };

    buildInputs = [python];

  }; 

in with localDefs;
        
stdenv.mkDerivation rec {
  name = "pyrex-0.9.5.1.1";
  builder = writeScript (name + "-builder")
    (textClosure localDefs [installPythonPackage doForceShare]);
  meta = {
    description = "Python package compiler or something like that";
    inherit src;
  };
}