Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / zope-lifecycleevent / default.nix
blobfc6b0005ffaccef75ff8cc2a688215eb2c2d2daa
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , zope_event
7 , zope_interface
8 }:
10 buildPythonPackage rec {
11   pname = "zope-lifecycleevent";
12   version = "5.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "zope.lifecycleevent";
19     inherit version;
20     hash = "sha256-6tP7SW52FPm1adFtrUt4BSsKwhh1utjWbKNQNS2bb50=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [ zope_event zope_interface ];
29   # namespace colides with local directory
30   doCheck = false;
32   pythonImportsCheck = [
33     "zope.lifecycleevent"
34     "zope.interface"
35   ];
37   meta = with lib; {
38     homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
39     description = "Object life-cycle events";
40     changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${version}/CHANGES.rst";
41     license = licenses.zpl21;
42     maintainers = with maintainers; [ goibhniu ];
43   };