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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
{
buildPythonPackage,
fetchPypi,
lib,
apeye-core,
attrs,
click,
consolekit,
docutils,
dom-toml,
domdf-python-tools,
hatchling,
hatch-requirements-txt,
natsort,
packaging,
readme-renderer,
sdjson,
shippinglabel,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyproject-parser";
version = "0.13.0";
pyproject = true;
src = fetchPypi {
pname = "pyproject_parser";
inherit version;
hash = "sha256-/x3bXUJsbYs4rXPNotXK8/VohSy04M+Gk0XInoyg+3Y=";
};
build-system = [
hatchling
hatch-requirements-txt
];
dependencies = [
apeye-core
attrs
dom-toml
domdf-python-tools
natsort
packaging
shippinglabel
typing-extensions
];
optional-dependencies = {
all = lib.concatAttrValues (lib.removeAttrs optional-dependencies [ "all" ]);
cli = [
click
consolekit
sdjson
];
readme = [
docutils
readme-renderer
]
++ readme-renderer.optional-dependencies.md;
};
meta = {
description = "Parser for ‘pyproject.toml’";
homepage = "https://github.com/repo-helper/pyproject-parser";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tyberius-prime ];
};
}
|