diff --git a/pkgs/development/python-modules/json-schema-for-humans/default.nix b/pkgs/development/python-modules/json-schema-for-humans/default.nix index f9452a25b7ab..aa70a35bd079 100644 --- a/pkgs/development/python-modules/json-schema-for-humans/default.nix +++ b/pkgs/development/python-modules/json-schema-for-humans/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "coveooss"; repo = pname; rev = "v${version}"; - sha256 = "sha256-gaholnLO5oIQaXgliuvlU2MfpjiCMgAPplOPgvMYim8="; + hash = "sha256-gaholnLO5oIQaXgliuvlU2MfpjiCMgAPplOPgvMYim8="; }; nativeBuildInputs = [ @@ -54,6 +54,12 @@ buildPythonPackage rec { pytestCheckHook ]; + postPatch = '' + # https://github.com/coveooss/json-schema-for-humans/issues/127 + substituteInPlace pyproject.toml \ + --replace 'PyYAML = "^5.4.1"' 'PyYAML = "*"' + ''; + disabledTests = [ # Tests require network access "test_references_url"