cruft: 2.15.0 -> 2.16.0 (#373763)

This commit is contained in:
Nick Cao
2025-01-16 10:40:38 -05:00
committed by GitHub
+18 -10
View File
@@ -5,30 +5,38 @@
}:
python3Packages.buildPythonApplication rec {
pname = "cruft";
version = "2.15.0";
version = "2.16.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cruft";
repo = "cruft";
rev = version;
hash = "sha256-qIVyNMoI3LsoOV/6XPa60Y1vTRvkezesF7wF9WVSLGk=";
tag = version;
hash = "sha256-hUucSfgDBlT5jVk/oF8JjbcYhjHgkprfGRwsSNfgjfg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
build-system = with python3Packages; [
poetry-core
hatchling
];
nativeCheckInputs = with python3Packages; [
pytest7CheckHook
];
dependencies = with python3Packages; [
click
cookiecutter
gitpython
typer
];
dependencies =
with python3Packages;
[
click
cookiecutter
gitpython
typer
]
++ lib.optional (pythonOlder "3.11") python3Packages.toml;
pythonImportsCheck = "cruft";