python3Packages.tuf: fix failing tests on Darwin

Tests require local networking to be enabled.
This commit is contained in:
Sarah Clark
2025-05-17 14:58:07 -07:00
parent 1782e6360d
commit 29fa27859a
@@ -6,7 +6,6 @@
fetchFromGitHub,
hatchling,
pytestCheckHook,
pythonOlder,
flit-core,
requests,
securesystemslib,
@@ -17,8 +16,6 @@ buildPythonPackage rec {
version = "6.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "theupdateframework";
repo = "python-tuf";
@@ -39,6 +36,8 @@ buildPythonPackage rec {
++ securesystemslib.optional-dependencies.pynacl
++ securesystemslib.optional-dependencies.crypto;
__darwinAllowLocalNetworking = true;
checkInputs = [
freezegun
];