From c3d57efe3b424b9b84811c6c92a2745c43f435cb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Jan 2024 20:07:58 +0100 Subject: [PATCH 1/2] python311Packages.dissect-cstruct: update disabled --- pkgs/development/python-modules/dissect-cstruct/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dissect-cstruct/default.nix b/pkgs/development/python-modules/dissect-cstruct/default.nix index 32e30dbad6a2..bcc86b1f7588 100644 --- a/pkgs/development/python-modules/dissect-cstruct/default.nix +++ b/pkgs/development/python-modules/dissect-cstruct/default.nix @@ -10,9 +10,9 @@ buildPythonPackage rec { pname = "dissect-cstruct"; version = "3.12"; - format = "pyproject"; + pyproject = true; - disabled = pythonOlder "3.12"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "fox-it"; From 36a00242a108f69fad600d599cac43c65db2baa6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Jan 2024 20:16:09 +0100 Subject: [PATCH 2/2] python311Packages.dissect-target: refactor --- .../python-modules/dissect-target/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dissect-target/default.nix b/pkgs/development/python-modules/dissect-target/default.nix index 5248aa20de68..786b29562874 100644 --- a/pkgs/development/python-modules/dissect-target/default.nix +++ b/pkgs/development/python-modules/dissect-target/default.nix @@ -53,7 +53,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "flow.record~=" "flow.record>=" + --replace-warn "flow.record~=" "flow.record>=" ''; nativeBuildInputs = [ @@ -110,12 +110,13 @@ buildPythonPackage rec { # Test requires rdump "test_exec_target_command" # Issue with tar file - "test_tar_sensitive_drive_letter" "test_dpapi_decrypt_blob" - "test_notifications_appdb" "test_md" - "test_notifications_wpndatabase" "test_nested_md_lvm" + "test_notifications_appdb" + "test_notifications_wpndatabase" + "test_tar_anonymous_filesystems" + "test_tar_sensitive_drive_letter" # Tests compare dates and times "yum" # Filesystem access, windows defender tests