pythonPackages.zope_location: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 10:34:41 -04:00
parent 86172105e7
commit 5537f6a402
2 changed files with 33 additions and 22 deletions

View File

@@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, zope_proxy
}:
buildPythonPackage rec {
pname = "zope.location";
version = "4.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1nj9da4ksiyv3h8n2vpzwd0pb03mdsh7zy87hfpx72b6p2zcwg74";
};
propagatedBuildInputs = [ zope_proxy ];
# ignore circular dependency on zope_schema
preBuild = ''
sed -i '/zope.schema/d' setup.py
'';
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/zopefoundation/zope.location/;
description = "Zope Location";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}