powerdns-admin: fix build

Pin jsonschema to 3.2.0 because bravado-core is incompatible with 4.0.
Also fix the dnspython pin.
This commit is contained in:
Flakebi 2022-05-25 00:07:16 +02:00
parent 8d8b6e8f44
commit efec13e550
No known key found for this signature in database
GPG key ID: 38E7ED984D7DCD02

View file

@ -15,8 +15,26 @@ let
version = "1.16.0";
src = oldAttrs.src.override {
inherit version;
extension = "zip";
sha256 = "36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01";
};
# Needs networking for some tests
doCheck = false;
});
# 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=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
doCheck = false;
});
};
};