blob: c9d88d056eeabefaff5872ef6561b256e9917ecb (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, zope_testrunner
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zope-contenttype";
version = "5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.contenttype";
inherit version;
hash = "sha256-AAHvG2XKZQUZBW3OUwxY0LOWlXzPBQIyPIoVSdtk0xc=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
zope_testrunner
];
pythonImportsCheck = [
"zope.contenttype"
];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.contenttype";
description = "A utility module for content-type (MIME type) handling";
changelog = "https://github.com/zopefoundation/zope.contenttype/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};
}
|