Skip to content

Commit 97ea297

Browse files
authored
python313Packages.pypitoken: 7.0.1 -> 7.1.1 (#407656)
2 parents 593fa72 + 8682b90 commit 97ea297

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

pkgs/development/python-modules/pypitoken/default.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,40 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
hatchling,
56
jsonschema,
6-
poetry-core,
77
pymacaroons,
88
pytest-cov-stub,
99
pytest-mock,
1010
pytestCheckHook,
1111
pythonOlder,
1212
typing-extensions,
13+
uv-dynamic-versioning,
1314
}:
1415

1516
buildPythonPackage rec {
1617
pname = "pypitoken";
17-
version = "7.0.1";
18+
version = "7.1.1";
1819
pyproject = true;
1920

20-
disabled = pythonOlder "3.8";
21+
disabled = pythonOlder "3.9";
2122

2223
src = fetchFromGitHub {
2324
owner = "ewjoachim";
2425
repo = "pypitoken";
2526
tag = version;
26-
hash = "sha256-1SUR6reZywgFpSdD49E5PjEDNrlvsHH4TK6SkXStUws=";
27+
hash = "sha256-esn7Pbmpo4BAvLefOWMeQNEB0UYwBf9vgcuzmuGwH30=";
2728
};
2829

2930
postPatch = ''
3031
substituteInPlace pyproject.toml \
31-
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
32+
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
3233
'';
3334

34-
build-system = [ poetry-core ];
35+
build-system = [
36+
hatchling
37+
uv-dynamic-versioning
38+
];
3539

3640
dependencies = [
3741
pymacaroons

0 commit comments

Comments
 (0)