python313Packages.pypitoken: 7.0.1 -> 7.1.1

Changelog: https://github.com/ewjoachim/pypitoken/releases/tag/7.1.1
This commit is contained in:
Fabian Affolter 2025-05-16 17:44:24 +02:00
parent 6dc8edf1f5
commit 8682b90aac

View File

@ -2,36 +2,40 @@
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
jsonschema,
poetry-core,
pymacaroons,
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
pythonOlder,
typing-extensions,
uv-dynamic-versioning,
}:
buildPythonPackage rec {
pname = "pypitoken";
version = "7.0.1";
version = "7.1.1";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "ewjoachim";
repo = "pypitoken";
tag = version;
hash = "sha256-1SUR6reZywgFpSdD49E5PjEDNrlvsHH4TK6SkXStUws=";
hash = "sha256-esn7Pbmpo4BAvLefOWMeQNEB0UYwBf9vgcuzmuGwH30=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
build-system = [ poetry-core ];
build-system = [
hatchling
uv-dynamic-versioning
];
dependencies = [
pymacaroons