3
0
Fork 0
forked from mirrors/nixpkgs

powerdns-admin: Pin jsonschema to jsonschema_3

The previous method of pinning caused frequent breakages.
This commit is contained in:
Zhaofeng Li 2022-09-26 18:30:48 -06:00
parent b84f4e94d1
commit f2c5fec8d3

View file

@ -13,19 +13,7 @@ let
packageOverrides = self: super: {
# The bravado-core dependency is incompatible with jschonschema 4.0:
# https://github.com/Yelp/bravado-core/pull/385
jsonschema = super.jsonschema.overridePythonAttrs (oldAttrs: rec {
version = "3.2.0";
src = oldAttrs.src.override {
inherit version;
hash = "sha256-yKhbKNN3zHc35G4tnytPRO48Dh3qxr9G3e/HGH0weXo=";
sha256 = "";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
doCheck = false;
});
jsonschema = super.jsonschema_3;
};
};