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";