python3Packages.securesystemslib: build w/ current hatchling (#475986)

This commit is contained in:
Sandro
2026-01-04 20:16:36 +00:00
committed by GitHub
@@ -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 = {