python3Packages.securesystemslib: rm python 3.8 limit, fix build w/ current hatchling

This commit is contained in:
Sarah Clark
2026-01-04 11:56:19 -08:00
parent e09e5cb4d2
commit e296eb55af
@@ -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 = {