From 083538e5d229dfa175fb7f92fa91101b1d866024 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 22 Apr 2025 09:52:59 +0200 Subject: [PATCH 1/2] python3Packages.jsonschema-rs: add update script To allow using the local update script for maintainers. --- pkgs/development/python-modules/jsonschema-rs/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/jsonschema-rs/default.nix b/pkgs/development/python-modules/jsonschema-rs/default.nix index b11211ff687d..b0b091ee83f5 100644 --- a/pkgs/development/python-modules/jsonschema-rs/default.nix +++ b/pkgs/development/python-modules/jsonschema-rs/default.nix @@ -3,6 +3,7 @@ fetchPypi, hypothesis, lib, + nix-update-script, pytestCheckHook, pythonOlder, rustPlatform, @@ -41,6 +42,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "jsonschema_rs" ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "High-performance JSON Schema validator for Python"; homepage = "https://github.com/Stranger6667/jsonschema/tree/master/crates/jsonschema-py"; From 6df39e2817699e6e6e5efb4afce6c8815927b5c4 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 22 Apr 2025 09:54:14 +0200 Subject: [PATCH 2/2] python3Packages.jsonschema-rs: 0.29.1 -> 0.30.0 Changelog: https://github.com/Stranger6667/jsonschema/blob/python-v0.30.0/crates/jsonschema-py/CHANGELOG.md --- pkgs/development/python-modules/jsonschema-rs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jsonschema-rs/default.nix b/pkgs/development/python-modules/jsonschema-rs/default.nix index b0b091ee83f5..f81f0d004d90 100644 --- a/pkgs/development/python-modules/jsonschema-rs/default.nix +++ b/pkgs/development/python-modules/jsonschema-rs/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "jsonschema-rs"; - version = "0.29.1"; + version = "0.30.0"; pyproject = true; @@ -21,13 +21,13 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "jsonschema_rs"; - hash = "sha256-qfiWqeRRdjA3TxdTZHBYNsIvCdW9W7sG7AYRMytnAv0="; + hash = "sha256-KfmI0ik3HWrv1WDFsT5xvxyRyXKg2DpmxeuUHOR9MZM="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; name = "${pname}-${version}"; - hash = "sha256-kVi4EFig0ZGnOSVjzfJuGeR7BiEngP1Jhj6NvbhMVy4="; + hash = "sha256-LNT2wQnOaVMBrI+fW6wbIRaTYPvw3ESinI5KY8wjp1o="; }; nativeBuildInputs = with rustPlatform; [