From a68bcae7eed4eca8ca9a4ef7a154bdf2aca039f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 Jul 2026 23:54:56 +0200 Subject: [PATCH] python3Packages.tuf: 6.0.0 -> 7.0.0 Diff: https://github.com/theupdateframework/python-tuf/compare/v6.0.0...v7.0.0 Changelog: https://github.com/theupdateframework/python-tuf/blob/v7.0.0/docs/CHANGELOG.md --- .../python-modules/tuf/default.nix | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/tuf/default.nix b/pkgs/development/python-modules/tuf/default.nix index 69e6e86710b4..24ea5d44be46 100644 --- a/pkgs/development/python-modules/tuf/default.nix +++ b/pkgs/development/python-modules/tuf/default.nix @@ -2,42 +2,31 @@ lib, buildPythonPackage, fetchFromGitHub, - - # build-system - flit-core, + freezegun, hatchling, - - # dependencies + pytestCheckHook, requests, securesystemslib, - - # tests - ed25519, - freezegun, - pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "tuf"; - version = "6.0.0"; + version = "7.0.0"; pyproject = true; src = fetchFromGitHub { owner = "theupdateframework"; repo = "python-tuf"; tag = "v${finalAttrs.version}"; - hash = "sha256-CPbZOpUYi7MWKLMj7kwTsmEkxLCf4wU7IOCcbzMkPlU="; + hash = "sha256-pn1M3e3Vzu2CYp/3KXkreaHunr+Nblph0QBWAkTmrIE="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "hatchling==1.27.0" "hatchling" + --replace-fail "hatchling==1.29.0" "hatchling" ''; - build-system = [ - flit-core - hatchling - ]; + build-system = [ hatchling ]; dependencies = [ requests @@ -49,7 +38,6 @@ buildPythonPackage (finalAttrs: { __darwinAllowLocalNetworking = true; nativeCheckInputs = [ - ed25519 freezegun pytestCheckHook ];