From 34baf7d9638b1d41f333daa663ba9630a0b730fe Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Wed, 13 Nov 2024 18:39:13 +0800 Subject: [PATCH] python3Packages.securesystemslib: 0.31.0 -> 1.1.0 --- .../python-modules/securesystemslib/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/securesystemslib/default.nix b/pkgs/development/python-modules/securesystemslib/default.nix index 62fb78f35653..7d1e431334bf 100644 --- a/pkgs/development/python-modules/securesystemslib/default.nix +++ b/pkgs/development/python-modules/securesystemslib/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "securesystemslib"; - version = "0.31.0"; + version = "1.1.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,15 +28,10 @@ buildPythonPackage rec { owner = "secure-systems-lab"; repo = "securesystemslib"; rev = "refs/tags/v${version}"; - hash = "sha256-REi38rIVZmWawFGcrPl9QzSthW4jHZDr/0ug7kJRz3Y="; + hash = "sha256-PDivKunqQcGnER4eyWtGE5gvbqvhavXF7n/O2rTFTkI="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "hatchling==1.18.0" "hatchling" - ''; - - nativeBuildInputs = [ hatchling ]; + build-system = [ hatchling ]; optional-dependencies = { PySPX = [ pyspx ];