From e296eb55af79b1e7b5d88f4d8266e24447368a5c Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 1 Jan 2026 10:44:40 -0800 Subject: [PATCH] python3Packages.securesystemslib: rm python 3.8 limit, fix build w/ current hatchling --- .../python-modules/securesystemslib/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/securesystemslib/default.nix b/pkgs/development/python-modules/securesystemslib/default.nix index 1e7bb4d9d8c4..e416b31ce826 100644 --- a/pkgs/development/python-modules/securesystemslib/default.nix +++ b/pkgs/development/python-modules/securesystemslib/default.nix @@ -14,7 +14,6 @@ pynacl, pyspx, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { @@ -22,8 +21,6 @@ buildPythonPackage rec { version = "1.3.1"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "secure-systems-lab"; repo = "securesystemslib"; @@ -31,6 +28,11 @@ buildPythonPackage rec { hash = "sha256-ERFRLNHD3OhbMEGBEnDLkRYGv4f+bYg9MStS5IarcPA="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail '"hatchling==1.27.0"' '"hatchling"' + ''; + build-system = [ hatchling ]; optional-dependencies = {