From 0954dc1895f27d525f6b0cdabdde238430c2b750 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 29 Sep 2024 17:06:56 +0200 Subject: [PATCH] python3Packages.sarif-tools: 3.0.0 -> 3.0.2 https://github.com/microsoft/sarif-tools/releases/tag/v3.0.2 --- .../python-modules/sarif-tools/default.nix | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/sarif-tools/default.nix b/pkgs/development/python-modules/sarif-tools/default.nix index c499d021447d..b75379c06af2 100644 --- a/pkgs/development/python-modules/sarif-tools/default.nix +++ b/pkgs/development/python-modules/sarif-tools/default.nix @@ -4,6 +4,7 @@ buildPythonPackage, poetry-core, jsonpath-ng, + jsonschema, jinja2, python, python-docx, @@ -15,32 +16,33 @@ buildPythonPackage rec { pname = "sarif-tools"; - version = "3.0.0"; + version = "3.0.2"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "sarif-tools"; rev = "refs/tags/v${version}"; - hash = "sha256-MYwhewUTZ3Wl93p6bN3+bHqtXz+BAlAhte+JaetPQYU="; + hash = "sha256-VGdl4WBdIiCWPGfFxqcG4XlbLh0uiLQXdrhUa2OxaVY="; }; disabled = pythonOlder "3.8"; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ - jsonpath-ng + dependencies = [ jinja2 + jsonpath-ng + matplotlib python python-docx - matplotlib pyyaml ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + jsonschema + pytestCheckHook + ]; pythonRelaxDeps = [ "python-docx" ];