From 2e03c33322f86f70e72d133ca976a3a63dd8ff94 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 May 2026 22:47:06 +0200 Subject: [PATCH 1/2] python3Packages.iocsearcher: 2.7.2 -> 2.8.3 Diff: https://github.com/malicialab/iocsearcher/compare/v2.7.2...v2.8.3 Changelog: https://github.com/malicialab/iocsearcher/releases/tag/v2.8.3 --- pkgs/development/python-modules/iocsearcher/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/iocsearcher/default.nix b/pkgs/development/python-modules/iocsearcher/default.nix index 059ca673e773..8920637b2677 100644 --- a/pkgs/development/python-modules/iocsearcher/default.nix +++ b/pkgs/development/python-modules/iocsearcher/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "iocsearcher"; - version = "2.7.2"; + version = "2.8.3"; pyproject = true; src = fetchFromGitHub { owner = "malicialab"; repo = "iocsearcher"; tag = "v${version}"; - hash = "sha256-XoBb3V/2ZMrGV+i0abt7+/xEFqv6f0y99scaw8aav04="; + hash = "sha256-jNITY4X6ywlkjzS5Udpd46JG7PoycXyy0uJ7+UqjuF4="; }; build-system = [ setuptools ]; From ac80d8a04d6a3ebe5ad9af15de15e8c4a01ad832 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 May 2026 22:54:19 +0200 Subject: [PATCH 2/2] python3Packages.iocsearcher: migrate to finalAttrs --- pkgs/development/python-modules/iocsearcher/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/iocsearcher/default.nix b/pkgs/development/python-modules/iocsearcher/default.nix index 8920637b2677..50f55bb9f668 100644 --- a/pkgs/development/python-modules/iocsearcher/default.nix +++ b/pkgs/development/python-modules/iocsearcher/default.nix @@ -20,7 +20,7 @@ solders, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "iocsearcher"; version = "2.8.3"; pyproject = true; @@ -28,7 +28,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "malicialab"; repo = "iocsearcher"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-jNITY4X6ywlkjzS5Udpd46JG7PoycXyy0uJ7+UqjuF4="; }; @@ -61,9 +61,9 @@ buildPythonPackage rec { meta = { description = "Library and command line tool for extracting indicators of compromise (IOCs)"; homepage = "https://github.com/malicialab/iocsearcher"; - changelog = "https://github.com/malicialab/iocsearcher/releases/tag/v${version}"; + changelog = "https://github.com/malicialab/iocsearcher/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "iocsearcher"; }; -} +})