cruft: 2.15.0 -> 2.16.0

+18 -10
+18 -10
pkgs/by-name/cr/cruft/package.nix
··· 5 }: 6 python3Packages.buildPythonApplication rec { 7 pname = "cruft"; 8 - version = "2.15.0"; 9 pyproject = true; 10 11 src = fetchFromGitHub { 12 owner = "cruft"; 13 repo = "cruft"; 14 - rev = version; 15 - hash = "sha256-qIVyNMoI3LsoOV/6XPa60Y1vTRvkezesF7wF9WVSLGk="; 16 }; 17 18 build-system = with python3Packages; [ 19 - poetry-core 20 ]; 21 22 nativeCheckInputs = with python3Packages; [ 23 pytest7CheckHook 24 ]; 25 26 - dependencies = with python3Packages; [ 27 - click 28 - cookiecutter 29 - gitpython 30 - typer 31 - ]; 32 33 pythonImportsCheck = "cruft"; 34
··· 5 }: 6 python3Packages.buildPythonApplication rec { 7 pname = "cruft"; 8 + version = "2.16.0"; 9 pyproject = true; 10 11 src = fetchFromGitHub { 12 owner = "cruft"; 13 repo = "cruft"; 14 + tag = version; 15 + hash = "sha256-hUucSfgDBlT5jVk/oF8JjbcYhjHgkprfGRwsSNfgjfg="; 16 }; 17 18 + postPatch = '' 19 + substituteInPlace pyproject.toml \ 20 + --replace-fail 'version = "0.0.0"' 'version = "${version}"' 21 + ''; 22 + 23 build-system = with python3Packages; [ 24 + hatchling 25 ]; 26 27 nativeCheckInputs = with python3Packages; [ 28 pytest7CheckHook 29 ]; 30 31 + dependencies = 32 + with python3Packages; 33 + [ 34 + click 35 + cookiecutter 36 + gitpython 37 + typer 38 + ] 39 + ++ lib.optional (pythonOlder "3.11") python3Packages.toml; 40 41 pythonImportsCheck = "cruft"; 42