nixpkgs/pkgs/development/python2-packages/psyco/default.nix
Marc Weber 8c0b7e4ad2 - adding experimental python31 build
- cleanup python libraries:
 * moving all python libraries into a attr set into a directory
   so that expressions can be used for both: python 2.5 and 2.6 easily
 * disabling packages which don't build

svn path=/nixpkgs/trunk/; revision=21142
2010-04-17 18:28:25 +00:00

15 lines
356 B
Nix

{stdenv, fetchurl, python}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "psyco-1.5.2";
src = fetchurl {
url = mirror://sourceforge/psyco/psyco-1.5.2-src.tar.gz;
md5 = "bceb17423d06b573dc7b875d34e79417";
};
buildInputs = [python];
buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out";
}