blob: 3016f05b9db816b80e6a608570751baf313c0050 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
cython,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "openstep-plist";
version = "0.5.0";
pyproject = true;
src = fetchPypi {
pname = "openstep_plist";
inherit version;
hash = "sha256-2vOGZSrghrzosYeExZqCUlI/rKOx3th2u/OTWU2GK3g=";
};
build-system = [
cython
setuptools
setuptools-scm
];
patches = [
(fetchpatch {
name = "openstep-plist-cpython-3.1-compat.patch";
url = "https://github.com/fonttools/openstep-plist/commit/5467a2c3bed3004b79c70b5b288f33293c96742b.patch";
hash = "sha256-dKZgthvPgdnCKA0o70TBtvipwnBr4wcayvK8SFqwrbY=";
})
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "openstep_plist" ];
meta = {
changelog = "https://github.com/fonttools/openstep-plist/releases/tag/v${version}";
description = "Parser for the 'old style' OpenStep property list format also known as ASCII plist";
homepage = "https://github.com/fonttools/openstep-plist";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|