Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / zope-contenttype / default.nix
blobd979ff9e78f5c468164eac196f5ea97d82894729
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , zope-testrunner
7 , pytestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "zope-contenttype";
12   version = "5.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "zope.contenttype";
19     inherit version;
20     hash = "sha256-AAHvG2XKZQUZBW3OUwxY0LOWlXzPBQIyPIoVSdtk0xc=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     zope-testrunner
30   ];
32   pythonImportsCheck = [
33     "zope.contenttype"
34   ];
36   meta = with lib; {
37     homepage = "https://github.com/zopefoundation/zope.contenttype";
38     description = "A utility module for content-type (MIME type) handling";
39     changelog = "https://github.com/zopefoundation/zope.contenttype/blob/${version}/CHANGES.rst";
40     license = licenses.zpl21;
41     maintainers = with maintainers; [ goibhniu ];
42   };