From a156d61bb068e01aebfdc38a794a06bbb07f6a6e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 22 Dec 2025 22:12:27 +0100 Subject: [PATCH] python313Packages.pysigma-backend-insightidr: modernize --- .../pysigma-backend-insightidr/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pysigma-backend-insightidr/default.nix b/pkgs/development/python-modules/pysigma-backend-insightidr/default.nix index 4e80a326567b..e1898ee43837 100644 --- a/pkgs/development/python-modules/pysigma-backend-insightidr/default.nix +++ b/pkgs/development/python-modules/pysigma-backend-insightidr/default.nix @@ -5,15 +5,12 @@ poetry-core, pysigma, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { pname = "pysigma-backend-insightidr"; version = "0.2.4"; - format = "pyproject"; - - disabled = pythonOlder "3.8"; + pyproject = true; src = fetchFromGitHub { owner = "SigmaHQ"; @@ -22,11 +19,9 @@ buildPythonPackage rec { hash = "sha256-dc25zDYQeU9W9qwrRz7zsM2wOl8kMapDvwFhB6VOwhY="; }; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ pysigma ]; + dependencies = [ pysigma ]; pythonRelaxDeps = [ "pysigma" ]; @@ -40,7 +35,8 @@ buildPythonPackage rec { meta = { description = "Library to support the Rapid7 InsightIDR backend for pySigma"; homepage = "https://github.com/SigmaHQ/pySigma-backend-insightidr"; - license = with lib.licenses; [ lgpl21Only ]; + changelog = "https://github.com/SigmaHQ/pySigma-backend-insightidr/releases/tag/${src.tag}"; + license = lib.licenses.lgpl21Only; maintainers = with lib.maintainers; [ fab ]; }; }