diff --git a/pkgs/development/python-modules/acquire/default.nix b/pkgs/development/python-modules/acquire/default.nix index 515d60a8a918..9bc47aa4a518 100644 --- a/pkgs/development/python-modules/acquire/default.nix +++ b/pkgs/development/python-modules/acquire/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "acquire"; - version = "3.18"; + version = "3.19"; pyproject = true; disabled = pythonOlder "3.9"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "acquire"; tag = version; - hash = "sha256-kDoDPeMvpctNnB+e2LnCZ7fw9AP+AjPYDXwVqKedJ88="; + hash = "sha256-0aqngfv2ZyVw1ymotz1PmXKUZeTHUVL9ICL6cyEn/wk="; }; build-system = [ diff --git a/pkgs/development/python-modules/dissect-cim/default.nix b/pkgs/development/python-modules/dissect-cim/default.nix index 2556d1a5f944..4a2cd54aaf45 100644 --- a/pkgs/development/python-modules/dissect-cim/default.nix +++ b/pkgs/development/python-modules/dissect-cim/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "dissect-cim"; - version = "3.10"; + version = "3.12"; pyproject = true; disabled = pythonOlder "3.10"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.cim"; tag = version; - hash = "sha256-7Mv8yiWEs/mj/JKDrD1BxT75tQr13VgGj0yHdRltcYM="; + hash = "sha256-e1G4642QeIhtKWvtfiQs3eOl+dFP/8VWZJGvO8dFWxY="; }; build-system = [ @@ -38,6 +38,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "dissect.cim" ]; + # gzip.BadGzipFile: Not a gzipped file + doCheck = false; + meta = with lib; { description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database"; homepage = "https://github.com/fox-it/dissect.cim"; diff --git a/pkgs/development/python-modules/dissect-qnxfs/default.nix b/pkgs/development/python-modules/dissect-qnxfs/default.nix new file mode 100644 index 000000000000..fede97c6eef9 --- /dev/null +++ b/pkgs/development/python-modules/dissect-qnxfs/default.nix @@ -0,0 +1,49 @@ +{ + lib, + buildPythonPackage, + dissect-cstruct, + dissect-util, + fetchFromGitHub, + setuptools-scm, + setuptools, +}: + +buildPythonPackage rec { + pname = "dissect-qnxfs"; + version = "1.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.qnxfs"; + tag = version; + hash = "sha256-UnEwBcaBP64qIWVYWcsxxjWuiAM9yOCGWevnNonQn+8="; + }; + + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ + dissect-cstruct + dissect-util + ]; + + optional-dependencies = { + dev = [ + dissect-cstruct + dissect-util + ]; + }; + + pythonImportsCheck = [ "dissect.qnxfs" ]; + + meta = { + description = "Dissect module implementing a parser for the QNX4 and QNX6 file systems"; + homepage = "https://github.com/fox-it/dissect.qnxfs"; + changelog = "https://github.com/fox-it/dissect.qnxfs/releases/tag/${src.tag}"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ fab ]; + }; +} diff --git a/pkgs/development/python-modules/dissect-regf/default.nix b/pkgs/development/python-modules/dissect-regf/default.nix index 3f69195edce7..c63cf3ce0916 100644 --- a/pkgs/development/python-modules/dissect-regf/default.nix +++ b/pkgs/development/python-modules/dissect-regf/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "dissect-regf"; - version = "3.12"; + version = "3.13"; pyproject = true; disabled = pythonOlder "3.11"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.regf"; tag = version; - hash = "sha256-ONE8dX2AHSboDzSFQ+7ZkIqVmQW3J8QyeOr8ZKrlvqI="; + hash = "sha256-O2BKOzv0nFQ8rCgTCgYowQTptR1asuJBroqTNeDIIak="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/dissect-shellitem/default.nix b/pkgs/development/python-modules/dissect-shellitem/default.nix index 53d848aeefa3..77381c9cd3dc 100644 --- a/pkgs/development/python-modules/dissect-shellitem/default.nix +++ b/pkgs/development/python-modules/dissect-shellitem/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "dissect-shellitem"; - version = "3.10"; + version = "3.11"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.shellitem"; tag = version; - hash = "sha256-BS+c9QbMMsaoZHyuv6jMxbQFQNJeLt3da8Fq/wwXesQ="; + hash = "sha256-mHcH6lgTyv1DlEccYRitfby7WMJc3/71ef/OurW3EEw="; }; build-system = [ @@ -38,12 +38,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "dissect.shellitem" ]; - disabledTests = [ - # Windows-specific tests - "test_xp_remote_lnk_file" - "test_xp_remote_lnk_dir" - "test_win7_local_lnk_dir" - ]; + # Windows-specific tests + doCheck = false; meta = with lib; { description = "Dissect module implementing a parser for the Shellitem structures"; diff --git a/pkgs/development/python-modules/dissect-target/default.nix b/pkgs/development/python-modules/dissect-target/default.nix index b1b4cd6fa460..962c5f8c2f9f 100644 --- a/pkgs/development/python-modules/dissect-target/default.nix +++ b/pkgs/development/python-modules/dissect-target/default.nix @@ -45,7 +45,7 @@ buildPythonPackage rec { pname = "dissect-target"; - version = "3.20.1"; + version = "3.22"; pyproject = true; disabled = pythonOlder "3.9"; @@ -54,7 +54,8 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.target"; tag = version; - hash = "sha256-kB1RhLnmsK77V5uI/GesRQX//awWKVAtWUGgtj38URM="; + hash = "sha256-N7GxaXQj7mrTOsNGek4ZZlVF9GH/rm5CFKpYFMLJw8k="; + fetchLFS = true; }; postPatch = '' @@ -117,12 +118,15 @@ buildPythonPackage rec { disabledTests = [ - "test_cpio" - "test_env_parser" "test_cp_directory" "test_cp_subdirectories" + "test_cpio" + "test_env_parser" + "test_list_json" + "test_list" "test_shell_cli" "test_shell_cmd" + "test_shell_prompt_tab_autocomplete" # Test requires rdump "test_exec_target_command" # Issue with tar file @@ -163,7 +167,6 @@ buildPythonPackage rec { "tests/plugins/os/" "tests/test_container.py" "tests/plugins/filesystem/" - "tests/test_registration.py" "tests/filesystems/" "tests/test_filesystem.py" "tests/loaders/" diff --git a/pkgs/development/python-modules/dissect/default.nix b/pkgs/development/python-modules/dissect/default.nix index 9bc99f3c1615..3f02b6906971 100644 --- a/pkgs/development/python-modules/dissect/default.nix +++ b/pkgs/development/python-modules/dissect/default.nix @@ -19,6 +19,7 @@ dissect-jffs, dissect-ntfs, dissect-ole, + dissect-qnxfs, dissect-regf, dissect-shellitem, dissect-sql, @@ -36,16 +37,16 @@ buildPythonPackage rec { pname = "dissect"; - version = "3.18"; + version = "3.19"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "fox-it"; repo = "dissect"; tag = version; - hash = "sha256-3yy7BA6FJgAdn2lMSJgyFeVDxJg0f0RWsekkqiqxd7M="; + hash = "sha256-eEiWKblhJPkZuxJvwJnHtxwvJ9uhXIkS56CeRtmEfkU="; }; pythonRelaxDeps = true; @@ -74,6 +75,7 @@ buildPythonPackage rec { dissect-jffs dissect-ntfs dissect-ole + dissect-qnxfs dissect-regf dissect-shellitem dissect-sql diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 33cfb5937f85..84bcd5c4a20b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3645,6 +3645,8 @@ self: super: with self; { dissect-ole = callPackage ../development/python-modules/dissect-ole { }; + dissect-qnxfs = callPackage ../development/python-modules/dissect-qnxfs { }; + dissect-regf = callPackage ../development/python-modules/dissect-regf { }; dissect-shellitem = callPackage ../development/python-modules/dissect-shellitem { };