fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / python-modules / zope-contenttype / default.nix
blob3d70c4dc6788ae2bdfd21a137e21875d38c0cc2d
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   setuptools,
7   zope-testrunner,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "zope-contenttype";
13   version = "5.1";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     pname = "zope.contenttype";
20     inherit version;
21     hash = "sha256-AAHvG2XKZQUZBW3OUwxY0LOWlXzPBQIyPIoVSdtk0xc=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [
27     pytestCheckHook
28     zope-testrunner
29   ];
31   pythonImportsCheck = [ "zope.contenttype" ];
33   meta = with lib; {
34     homepage = "https://github.com/zopefoundation/zope.contenttype";
35     description = "Utility module for content-type (MIME type) handling";
36     changelog = "https://github.com/zopefoundation/zope.contenttype/blob/${version}/CHANGES.rst";
37     license = licenses.zpl21;
38     maintainers = [ ];
39   };