python313Packages.pypitoken: 7.0.1 -> 7.1.1 (#407656)

authored by Fabian Affolter and committed by GitHub 97ea2973 593fa724

+10 -6
+10 -6
pkgs/development/python-modules/pypitoken/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 jsonschema, 6 - poetry-core, 7 pymacaroons, 8 pytest-cov-stub, 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 typing-extensions, 13 }: 14 15 buildPythonPackage rec { 16 pname = "pypitoken"; 17 - version = "7.0.1"; 18 pyproject = true; 19 20 - disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "ewjoachim"; 24 repo = "pypitoken"; 25 tag = version; 26 - hash = "sha256-1SUR6reZywgFpSdD49E5PjEDNrlvsHH4TK6SkXStUws="; 27 }; 28 29 postPatch = '' 30 substituteInPlace pyproject.toml \ 31 - --replace-fail 'version = "0.0.0"' 'version = "${version}"' 32 ''; 33 34 - build-system = [ poetry-core ]; 35 36 dependencies = [ 37 pymacaroons
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + hatchling, 6 jsonschema, 7 pymacaroons, 8 pytest-cov-stub, 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12 typing-extensions, 13 + uv-dynamic-versioning, 14 }: 15 16 buildPythonPackage rec { 17 pname = "pypitoken"; 18 + version = "7.1.1"; 19 pyproject = true; 20 21 + disabled = pythonOlder "3.9"; 22 23 src = fetchFromGitHub { 24 owner = "ewjoachim"; 25 repo = "pypitoken"; 26 tag = version; 27 + hash = "sha256-esn7Pbmpo4BAvLefOWMeQNEB0UYwBf9vgcuzmuGwH30="; 28 }; 29 30 postPatch = '' 31 substituteInPlace pyproject.toml \ 32 + --replace-fail 'dynamic = ["version"]' 'version = "${version}"' 33 ''; 34 35 + build-system = [ 36 + hatchling 37 + uv-dynamic-versioning 38 + ]; 39 40 dependencies = [ 41 pymacaroons