python313Packages.dissect-shellitem: 3.10 -> 3.11, python313Packages.dissect-regf: 3.12 -> 3.13, python313Packages.dissect-cim: 3.10 -> 3.12 (#411234)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 = [
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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/"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user