tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cruft: 2.15.0 -> 2.16.0
PerchunPak
1 year ago
1f9a92d2
c990a245
+18
-10
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
cr
cruft
package.nix
+18
-10
pkgs/by-name/cr/cruft/package.nix
···
5
5
}:
6
6
python3Packages.buildPythonApplication rec {
7
7
pname = "cruft";
8
8
-
version = "2.15.0";
8
8
+
version = "2.16.0";
9
9
pyproject = true;
10
10
11
11
src = fetchFromGitHub {
12
12
owner = "cruft";
13
13
repo = "cruft";
14
14
-
rev = version;
15
15
-
hash = "sha256-qIVyNMoI3LsoOV/6XPa60Y1vTRvkezesF7wF9WVSLGk=";
14
14
+
tag = version;
15
15
+
hash = "sha256-hUucSfgDBlT5jVk/oF8JjbcYhjHgkprfGRwsSNfgjfg=";
16
16
};
17
17
18
18
+
postPatch = ''
19
19
+
substituteInPlace pyproject.toml \
20
20
+
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
21
21
+
'';
22
22
+
18
23
build-system = with python3Packages; [
19
19
-
poetry-core
24
24
+
hatchling
20
25
];
21
26
22
27
nativeCheckInputs = with python3Packages; [
23
28
pytest7CheckHook
24
29
];
25
30
26
26
-
dependencies = with python3Packages; [
27
27
-
click
28
28
-
cookiecutter
29
29
-
gitpython
30
30
-
typer
31
31
-
];
31
31
+
dependencies =
32
32
+
with python3Packages;
33
33
+
[
34
34
+
click
35
35
+
cookiecutter
36
36
+
gitpython
37
37
+
typer
38
38
+
]
39
39
+
++ lib.optional (pythonOlder "3.11") python3Packages.toml;
32
40
33
41
pythonImportsCheck = "cruft";
34
42