check-jsonschema: 0.16.2 -> 0.18.3

This commit is contained in:
Martin Weinelt 2022-09-19 03:43:58 +02:00 committed by Sandro Jäckel
parent 69591251b2
commit 82e9e32436
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -4,13 +4,13 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "check-jsonschema";
version = "0.16.2";
version = "0.18.3";
src = fetchFromGitHub {
owner = "python-jsonschema";
repo = "check-jsonschema";
rev = version;
sha256 = "sha256-rPjXua5kITr+I+jqeAO2iGUFVhjkLnQkXlUzRvkXduA=";
sha256 = "sha256-9Ejcxr/22rJu8JoC7WspLfzF08elz4TaGagDeV0zIXk=";
};
propagatedBuildInputs = [
@ -27,6 +27,11 @@ buildPythonApplication rec {
responses
];
pytestFlagsArray = [
# DeprecationWarning: Accessing jsonschema.draft3_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator.
"-W" "ignore::DeprecationWarning"
];
preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
# https://github.com/python/cpython/issues/74570#issuecomment-1093748531
export no_proxy='*';