about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/zope-component/default.nix
blob: 2b65136aaf834fb77856315744bfd9cff88a9e29 (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
47
48
49
{ lib
, buildPythonPackage
, fetchPypi
, zope_configuration
, zope-deferredimport
, zope_deprecation
, zope_event
, zope-hookable
, zope-i18nmessageid
, zope_interface
}:

buildPythonPackage rec {
  pname = "zope-component";
  version = "6.0";
  format = "setuptools";

  src = fetchPypi {
    pname = "zope.component";
    inherit version;
    hash = "sha256-mgoEcq0gG5S0/mdBzprCwwuLsixRYHe/A2kt7E37aQY=";
  };

  propagatedBuildInputs = [
    zope_configuration
    zope-deferredimport
    zope_deprecation
    zope_event
    zope-hookable
    zope-i18nmessageid
    zope_interface
  ];

  # ignore tests because of a circular dependency on zope_security
  doCheck = false;

  pythonImportsCheck = [
    "zope.component"
  ];

  meta = with lib; {
    homepage = "https://github.com/zopefoundation/zope.component";
    description = "Zope Component Architecture";
    changelog = "https://github.com/zopefoundation/zope.component/blob/${version}/CHANGES.rst";
    license = licenses.zpl20;
    maintainers = with maintainers; [ goibhniu ];
  };

}