cruft: 2.15.0 -> 2.16.0

+18 -10
+18 -10
pkgs/by-name/cr/cruft/package.nix
··· 5 5 }: 6 6 python3Packages.buildPythonApplication rec { 7 7 pname = "cruft"; 8 - version = "2.15.0"; 8 + version = "2.16.0"; 9 9 pyproject = true; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "cruft"; 13 13 repo = "cruft"; 14 - rev = version; 15 - hash = "sha256-qIVyNMoI3LsoOV/6XPa60Y1vTRvkezesF7wF9WVSLGk="; 14 + tag = version; 15 + hash = "sha256-hUucSfgDBlT5jVk/oF8JjbcYhjHgkprfGRwsSNfgjfg="; 16 16 }; 17 17 18 + postPatch = '' 19 + substituteInPlace pyproject.toml \ 20 + --replace-fail 'version = "0.0.0"' 'version = "${version}"' 21 + ''; 22 + 18 23 build-system = with python3Packages; [ 19 - poetry-core 24 + hatchling 20 25 ]; 21 26 22 27 nativeCheckInputs = with python3Packages; [ 23 28 pytest7CheckHook 24 29 ]; 25 30 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; 32 40 33 41 pythonImportsCheck = "cruft"; 34 42