From 26405c899d9a044e6bc8b545a1d0351fd6d10700 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 27 Nov 2025 17:17:10 +0100 Subject: [PATCH] python313Packages.dissect-archive: 1.6 -> 1.8 Changelog: https://github.com/fox-it/dissect.archive/releases/tag/1.8 --- .../python-modules/dissect-archive/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/dissect-archive/default.nix b/pkgs/development/python-modules/dissect-archive/default.nix index 79a23a310d2d..e3f1ca21591a 100644 --- a/pkgs/development/python-modules/dissect-archive/default.nix +++ b/pkgs/development/python-modules/dissect-archive/default.nix @@ -4,23 +4,21 @@ dissect-cstruct, dissect-util, fetchFromGitHub, - pythonOlder, + pytestCheckHook, setuptools, setuptools-scm, }: buildPythonPackage rec { pname = "dissect-archive"; - version = "1.6"; + version = "1.8"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "fox-it"; repo = "dissect.archive"; tag = version; - hash = "sha256-TaNSgUL9Ia7Qz9qy+I+4vRFn5gGnsYxAgbsrI6iYrlo="; + hash = "sha256-HNbnluJPn275BYEdfBQdGtXlXlvZKFvDkJTpe0zgpdc="; }; build-system = [ @@ -33,8 +31,17 @@ buildPythonPackage rec { dissect-util ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "dissect.archive" ]; + disabledTests = [ + # Issue with archives + "test_vbk" + "test_vma" + "test_wim" + ]; + meta = with lib; { description = "Dissect module implementing parsers for various archive and backup formats"; homepage = "https://github.com/fox-it/dissect.archive";