tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.schema-salad: adjust inputs
Fabian Affolter
2 years ago
d76c4a6d
5f09b608
+14
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
schema-salad
default.nix
+14
pkgs/development/python-modules/schema-salad/default.nix
···
6
fetchFromGitHub,
7
importlib-resources,
8
mistune,
0
9
mypy-extensions,
10
pytestCheckHook,
0
11
pythonOlder,
12
rdflib,
13
requests,
14
ruamel-yaml,
15
setuptools-scm,
0
0
0
16
}:
17
18
buildPythonPackage rec {
···
29
hash = "sha256-AgXqeiA4sP7KBnUpb2uMWq45G0LhJ5uLtORrOG4UuB0=";
30
};
31
0
0
0
0
0
32
build-system = [ setuptools-scm ];
33
34
dependencies =
35
[
36
cachecontrol
37
mistune
0
38
mypy-extensions
39
rdflib
40
requests
41
ruamel-yaml
0
0
0
42
]
43
++ cachecontrol.optional-dependencies.filecache
44
++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
···
6
fetchFromGitHub,
7
importlib-resources,
8
mistune,
9
+
mypy,
10
mypy-extensions,
11
pytestCheckHook,
12
+
pythonRelaxDepsHook,
13
pythonOlder,
14
rdflib,
15
requests,
16
ruamel-yaml,
17
setuptools-scm,
18
+
types-dataclasses,
19
+
types-requests,
20
+
types-setuptools,
21
}:
22
23
buildPythonPackage rec {
···
34
hash = "sha256-AgXqeiA4sP7KBnUpb2uMWq45G0LhJ5uLtORrOG4UuB0=";
35
};
36
37
+
postPatch = ''
38
+
substituteInPlace pyproject.toml \
39
+
--replace-fail "black>=19.10b0,<23.12" "black>=19.10b0"
40
+
'';
41
+
42
build-system = [ setuptools-scm ];
43
44
dependencies =
45
[
46
cachecontrol
47
mistune
48
+
mypy
49
mypy-extensions
50
rdflib
51
requests
52
ruamel-yaml
53
+
types-dataclasses
54
+
types-requests
55
+
types-setuptools
56
]
57
++ cachecontrol.optional-dependencies.filecache
58
++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];