nixpkgs/pkgs/development/python-modules/psyco/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

14 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";
}