Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / zope-testing / default.nix
blob65672118e4ef9ee5805ed2719c0dd2505a181669
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPyPy
5 , setuptools
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "zope-testing";
11   version = "5.0.1";
12   pyproject = true;
14   src = fetchPypi {
15     pname = "zope.testing";
16     inherit version;
17     hash = "sha256-6HzQ2NZmVzza8TOBare5vuyAGmSoZZXBnLX+mS7z1kk=";
18   };
20   nativeBuildInputs = [
21     setuptools
22   ];
24   doCheck = !isPyPy;
26   nativeCheckInputs = [
27     pytestCheckHook
28   ];
30   pytestFlagsArray = [
31     "src/zope/testing/tests.py"
32   ];
34   pythonImportsCheck = [
35     "zope.testing"
36   ];
38   pythonNamespaces = [
39     "zope"
40   ];
42   meta = with lib; {
43     description = "Zope testing helpers";
44     homepage =  "https://github.com/zopefoundation/zope.testing";
45     changelog = "https://github.com/zopefoundation/zope.testing/blob/${version}/CHANGES.rst";
46     license = licenses.zpl21;
47     maintainers = with maintainers; [ goibhniu ];
48   };