blob: 8b94a193f4bd465eb8bf4e909da2858274500b74 (
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
51
52
|
{
lib,
attrs,
buildPythonPackage,
domdf-python-tools,
fetchFromGitHub,
flit-core,
pytestCheckHook,
setuptools,
tomli-w,
}:
buildPythonPackage rec {
pname = "dom-toml";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "domdfcoding";
repo = "dom_toml";
tag = "v${version}";
hash = "sha256-2kO/6spc+y/ltHf493JkSKI0vGuJu2a29fqsW/EDFxE=";
};
build-system = [ flit-core ];
dependencies = [ domdf-python-tools ];
optional-dependencies = {
all = [
attrs
tomli-w
];
config = [
attrs
tomli-w
];
};
# Circular dependency whey -> domdf-python-tools -> coincidence
doCheck = false;
pythonImportsCheck = [ "dom_toml" ];
meta = {
description = "Dom's tools for Tom's Obvious, Minimal Language";
homepage = "https://github.com/domdfcoding/dom_toml";
changelog = "https://github.com/domdfcoding/dom_toml/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tyberius-prime ];
};
}
|