mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPackages.zope_testing: refactor move to python-modules
This commit is contained in:
parent
125ade6524
commit
2c5ff5ea3f
2 changed files with 31 additions and 21 deletions
30
pkgs/development/python-modules/zope_testing/default.nix
Normal file
30
pkgs/development/python-modules/zope_testing/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPyPy
|
||||||
|
, zope_interface
|
||||||
|
, zope_exceptions
|
||||||
|
, zope_location
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zope.testing";
|
||||||
|
version = "4.6.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1vvxhjmzl7vw2i1akfj1xbggwn36270ym7f2ic9xwbaswfw1ap56";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ zope_interface zope_exceptions zope_location ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Zope testing helpers";
|
||||||
|
homepage = http://pypi.python.org/pypi/zope.testing;
|
||||||
|
license = licenses.zpl20;
|
||||||
|
maintainers = with maintainers; [ goibhniu ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -4214,27 +4214,7 @@ in {
|
||||||
|
|
||||||
zope_size = callPackage ../development/python-modules/zope_size { };
|
zope_size = callPackage ../development/python-modules/zope_size { };
|
||||||
|
|
||||||
zope_testing = buildPythonPackage rec {
|
zope_testing = callPackage ../development/python-modules/zope_testing { };
|
||||||
name = "zope.testing-${version}";
|
|
||||||
version = "4.6.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/z/zope.testing/${name}.tar.gz";
|
|
||||||
sha256 = "1vvxhjmzl7vw2i1akfj1xbggwn36270ym7f2ic9xwbaswfw1ap56";
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = !isPyPy;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ zope_interface zope_exceptions zope_location ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Zope testing helpers";
|
|
||||||
homepage = http://pypi.python.org/pypi/zope.testing;
|
|
||||||
license = licenses.zpl20;
|
|
||||||
maintainers = with maintainers; [ goibhniu ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
zope_testrunner = callPackage ../development/python-modules/zope_testrunner { };
|
zope_testrunner = callPackage ../development/python-modules/zope_testrunner { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue