File tree Expand file tree Collapse file tree 1 file changed +18
-10
lines changed
Expand file tree Collapse file tree 1 file changed +18
-10
lines changed Original file line number Diff line number Diff line change 55} :
66python3Packages . buildPythonApplication rec {
77 pname = "cruft" ;
8- version = "2.15 .0" ;
8+ version = "2.16 .0" ;
99 pyproject = true ;
1010
1111 src = fetchFromGitHub {
1212 owner = "cruft" ;
1313 repo = "cruft" ;
14- rev = version ;
15- hash = "sha256-qIVyNMoI3LsoOV/6XPa60Y1vTRvkezesF7wF9WVSLGk =" ;
14+ tag = version ;
15+ hash = "sha256-hUucSfgDBlT5jVk/oF8JjbcYhjHgkprfGRwsSNfgjfg =" ;
1616 } ;
1717
18+ postPatch = ''
19+ substituteInPlace pyproject.toml \
20+ --replace-fail 'version = "0.0.0"' 'version = "${ version } "'
21+ '' ;
22+
1823 build-system = with python3Packages ; [
19- poetry-core
24+ hatchling
2025 ] ;
2126
2227 nativeCheckInputs = with python3Packages ; [
2328 pytest7CheckHook
2429 ] ;
2530
26- dependencies = with python3Packages ; [
27- click
28- cookiecutter
29- gitpython
30- typer
31- ] ;
31+ dependencies =
32+ with python3Packages ;
33+ [
34+ click
35+ cookiecutter
36+ gitpython
37+ typer
38+ ]
39+ ++ lib . optional ( pythonOlder "3.11" ) python3Packages . toml ;
3240
3341 pythonImportsCheck = "cruft" ;
3442
You can’t perform that action at this time.
0 commit comments