about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zope-lifecycleevent/default.nix
blob: 03f1a5cf111ed5670e61d7a0e74065a0f1815cb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  setuptools,
  zope-event,
  zope-interface,
}:

buildPythonPackage rec {
  pname = "zope-lifecycleevent";
  version = "5.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "zope.lifecycleevent";
    inherit version;
    hash = "sha256-6tP7SW52FPm1adFtrUt4BSsKwhh1utjWbKNQNS2bb50=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [
    zope-event
    zope-interface
  ];

  # namespace colides with local directory
  doCheck = false;

  pythonImportsCheck = [
    "zope.lifecycleevent"
    "zope.interface"
  ];

  meta = with lib; {
    homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
    description = "Object life-cycle events";
    changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${version}/CHANGES.rst";
    license = licenses.zpl21;
    maintainers = [ ];
  };
}