Skip to content

Commit

Permalink
cruft: 2.15.0 -> 2.16.0 (#373763)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Jan 16, 2025
2 parents 1643947 + 1f9a92d commit c2bc8a7
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions pkgs/by-name/cr/cruft/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit c2bc8a7

Please sign in to comment.