depot/third_party/nixpkgs/pkgs/development/python-modules/zope-location/default.nix

33 lines
627 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, zope-proxy
}:
buildPythonPackage rec {
pname = "zope.location";
version = "5.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-AW/qk0uX2tKwimTqfy+8PeVduwdMRh9m2HHHC/OqrqU=";
};
propagatedBuildInputs = [ zope-proxy ];
# ignore circular dependency on zope-schema
preBuild = ''
sed -i '/zope.schema/d' setup.py
'';
doCheck = false;
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.location/";
description = "Zope Location";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}