Move zope.interface' to python-packages.nix'.

svn path=/nixpkgs/trunk/; revision=20305
This commit is contained in:
Ludovic Courtès 2010-03-01 13:12:52 +00:00
parent ff88e57803
commit 67b7a89daf
3 changed files with 17 additions and 16 deletions

View File

@ -1,12 +0,0 @@
{stdenv, fetchurl, python}:
stdenv.mkDerivation {
name = "ZopeInterface-3.3.0";
src = fetchurl {
url = http://www.zope.org/Products/ZopeInterface/3.3.0/zope.interface-3.3.0.tar.gz;
sha256 = "0xahg9cmagn4j3dbifvgzbjliw2jdrbf27fhqwkdp8j80xpyyjf0";
};
buildInputs = [python];
buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out";
}

View File

@ -5377,9 +5377,7 @@ let
twisted = pythonPackages.twisted;
ZopeInterface = import ../development/python-modules/ZopeInterface {
inherit fetchurl stdenv python;
};
ZopeInterface = pythonPackages.zopeInterface;
zope = import ../development/python-modules/zope {
inherit fetchurl stdenv;

View File

@ -641,7 +641,7 @@ rec {
sha256 = "1c6zplisjdnjzkfs0ld3a0f7m7xbjgx5rcwsdw5i1xiibsq2nq70";
};
propagatedBuildInputs = [ pkgs.ZopeInterface ];
propagatedBuildInputs = [ zopeInterface ];
# Generate Twisted's plug-in cache. Twited users must do it as well. See
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
@ -717,4 +717,19 @@ rec {
};
});
zopeInterface = buildPythonPackage {
name = "zope-interface-3.3.0";
src = fetchurl {
url = http://www.zope.org/Products/ZopeInterface/3.3.0/zope.interface-3.3.0.tar.gz;
sha256 = "0xahg9cmagn4j3dbifvgzbjliw2jdrbf27fhqwkdp8j80xpyyjf0";
};
doCheck = false;
meta = {
description = "Zope.Interface";
homepage = http://zope.org/Products/ZopeInterface;
license = "ZPL";
};
};
}