blob: 72757227cd691494b9ca9ecb28bb7278e83ff60b (
plain)
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
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
zope-schema,
zope-interface,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "zope-filerepresentation";
version = "7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zopefoundation";
repo = "zope.filerepresentation";
tag = version;
hash = "sha256-VWi00b7m+aKwkg/Gfzo5fJWMqdMqgowBpkqsYcEO2gY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools ==" "setuptools >="
'';
build-system = [ setuptools ];
dependencies = [
zope-interface
zope-schema
];
pythonImportsCheck = [ "zope.filerepresentation" ];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "src/zope/filerepresentation" ];
pythonNamespaces = [ "zope" ];
meta = {
homepage = "https://github.com/zopefoundation/zope.filerepresentation";
description = "File-system Representation Interfaces";
changelog = "https://github.com/zopefoundation/zope.filerepresentation/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = [ ];
};
}
|