Merge pull request #309958 from fabaff/dissect-bump

python311Packages.dissect: 3.13 -> 3.14
This commit is contained in:
Fabian Affolter 2024-05-08 08:35:18 +02:00 committed by GitHub
commit 568e0d0ef9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with 449 additions and 421 deletions

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "acquire"; pname = "acquire";
version = "3.13"; version = "3.14";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -26,15 +26,15 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "acquire"; repo = "acquire";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Z85bHM3MtS2MLX9BaKi8VqA13QjO9KdrgqhuyBzjILQ="; hash = "sha256-QW5+npgjrIzyI2hztFovA5s6TMzgCCEiZx9aZREmYII=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
defusedxml defusedxml
dissect-cstruct dissect-cstruct
dissect-target dissect-target

View File

@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
dissect-cstruct,
dissect-util,
fetchFromGitHub,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "dissect-archive";
version = "1.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "fox-it";
repo = "dissect.archive";
rev = "refs/tags/${version}";
hash = "sha256-DUAJUbG3k6sbO7mqvNzQQns+4l8XHDUh0xZ/RA5LWEY=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dissect-cstruct
dissect-util
];
pythonImportsCheck = [ "dissect.archive" ];
meta = with lib; {
description = "Dissect module implementing parsers for various archive and backup formats";
homepage = "https://github.com/fox-it/dissect.archive";
changelog = "https://github.com/fox-it/dissect.archive/releases/tag/${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-btrfs"; pname = "dissect-btrfs";
version = "1.2"; version = "1.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.btrfs"; repo = "dissect.btrfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-nWgeChHHCAjD5I98h2/1HrO5688aZUM4j2PJiD1xP0g="; hash = "sha256-Xn7y9om/IuCaPR77lSuC0peF5umIxu2BS9esMPXsv+Y=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,45 +1,42 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-cim"; pname = "dissect-cim";
version = "3.8"; version = "3.9";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.cim"; repo = "dissect.cim";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-NbGI6d1C3X7PbTsbDSCS4AUK6ueCBOuQDTNhkULrLYc="; hash = "sha256-UZ4mlshaKqZKoysvnGfcaoMOrMwfsN/qOJ8hrpMcQL0=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.cim" ];
"dissect.cim"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database"; description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database";

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, fetchFromGitHub dissect-cstruct,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-clfs"; pname = "dissect-clfs";
version = "1.7"; version = "1.8";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,25 +20,19 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.clfs"; repo = "dissect.clfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-DBnZlyk7rjuTpOjgFUmSNxqvIZk8OxACNqyFDcENFHM="; hash = "sha256-C1a85OLMkj0vjnRpenfC/xyxJ1TjYSlHPOq0jIrA/Ng=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [ dissect-cstruct ];
dissect-cstruct
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.clfs" ];
"dissect.clfs"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the CLFS (Common Log File System) file system"; description = "Dissect module implementing a parser for the CLFS (Common Log File System) file system";

View File

@ -1,25 +1,26 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, flow-record fetchFromGitHub,
, httpx flow-record,
, lark httpx,
, pycryptodome lark,
, pyshark pycryptodome,
, pytest-httpserver pyshark,
, pytestCheckHook pytest-httpserver,
, pythonOlder pytestCheckHook,
, rich pythonOlder,
, setuptools rich,
, setuptools-scm setuptools,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-cobaltstrike"; pname = "dissect-cobaltstrike";
version = "1.0.0"; version = "1.0.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -30,12 +31,12 @@ buildPythonPackage rec {
hash = "sha256-CS50c3r7sdxp3CRS6XJ4QUmUFtmhFg6rSdKfYzJSOV4="; hash = "sha256-CS50c3r7sdxp3CRS6XJ4QUmUFtmhFg6rSdKfYzJSOV4=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
lark lark
@ -69,9 +70,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.cobaltstrike" ];
"dissect.cobaltstrike"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for Cobalt Strike related data"; description = "Dissect module implementing a parser for Cobalt Strike related data";

View File

@ -1,15 +1,16 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-cstruct"; pname = "dissect-cstruct";
version = "3.13"; version = "3.14";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -18,21 +19,17 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.cstruct"; repo = "dissect.cstruct";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-QfnvWCI67y8GdCfXIRaehzb26IVZ8N0muUnNpr1NGJo="; hash = "sha256-Et6Pb7iRVlxcrR4gZf+5h7mVikf7CyDd7N+q4TH18vg=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.cstruct" ];
"dissect.cstruct"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for C-like structures"; description = "Dissect module implementing a parser for C-like structures";

View File

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-esedb"; pname = "dissect-esedb";
version = "3.12"; version = "3.13";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.esedb"; repo = "dissect.esedb";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-s3ZIK4ZtHU5B3f9ojVTC2Aqn3G7CosTvdV6U3cwEatY="; hash = "sha256-GdHMKLO44hR+H3fQ9h3t6sL8ACMwIVeg4nrg9brYmsU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,17 +1,18 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-etl"; pname = "dissect-etl";
version = "3.8"; version = "3.9";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,26 +21,22 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.etl"; repo = "dissect.etl";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-yGpDZAaw11Sr5OPWxbY/NpZAV3jJUIgtTgDykCvYDtM="; hash = "sha256-gLxBVHhtQS4Ep64H4jvndGyjUW1cQ68f346utVI9eC4=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.etl" ];
"dissect.etl"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for Event Trace Log (ETL) files"; description = "Dissect module implementing a parser for Event Trace Log (ETL) files";

View File

@ -11,16 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-eventlog"; pname = "dissect-eventlog";
version = "3.7"; version = "3.8";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.eventlog"; repo = "dissect.eventlog";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-YiWW1olaIKoBfiZfr4TfIEsnj/C4cmn6sYosvjeiEfM="; hash = "sha256-MvCHeeuwwE/EOK5rh5vtwTtMrSO/BtfFenQZn5VTgb0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,17 +1,18 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-evidence"; pname = "dissect-evidence";
version = "3.8"; version = "3.9";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,26 +21,22 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.evidence"; repo = "dissect.evidence";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-/zmMPSVR6F6SIU7xuotErmU2SsKEV43rs/4oTVKAWz0="; hash = "sha256-0WLX5mD+opJoRdnk4w8mMySn41473PcRod4YxEk3S2s=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.evidence" ];
"dissect.evidence"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parsers for various forensic evidence file containers"; description = "Dissect module implementing a parsers for various forensic evidence file containers";

View File

@ -1,11 +1,12 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pythonOlder setuptools-scm,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,19 +23,17 @@ buildPythonPackage rec {
hash = "sha256-aAalU0TUqXc13WnxJvirG3QzQyMstecOfnXMdFT8IzU="; hash = "sha256-aAalU0TUqXc13WnxJvirG3QzQyMstecOfnXMdFT8IzU=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.executable" ];
"dissect.executable"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for various executable formats such as PE, ELF and Macho-O"; description = "Dissect module implementing a parser for various executable formats such as PE, ELF and Macho-O";

View File

@ -11,16 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-extfs"; pname = "dissect-extfs";
version = "3.9"; version = "3.10";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.extfs"; repo = "dissect.extfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-xZEULUm0I754f9MEIUZEua76SaY/WMFp4Q5BMNZ8fWU="; hash = "sha256-EIM2kS5V2+e7/bvuB8ezBZQl3XopdlzZ7Cmwr+Ns/Us=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pythonOlder setuptools-scm,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-fat"; pname = "dissect-fat";
version = "3.8"; version = "3.9";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,15 +20,15 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.fat"; repo = "dissect.fat";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-xFfB7QOZ3KjsOPQ1cPTRkqb0hgD4waOq8kkSTJStQ+E="; hash = "sha256-U7SSLvEK6IYZjjUIGT9n1w7oLdB8Q2/msQ/EBJfatJY=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
@ -35,9 +36,7 @@ buildPythonPackage rec {
# dissect.fat.exceptions.InvalidBPB: Invalid BS_jmpBoot # dissect.fat.exceptions.InvalidBPB: Invalid BS_jmpBoot
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.fat" ];
"dissect.fat"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the FAT file system"; description = "Dissect module implementing a parser for the FAT file system";

View File

@ -1,45 +1,42 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-ffs"; pname = "dissect-ffs";
version = "3.7"; version = "3.8";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.ffs"; repo = "dissect.ffs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-f7lXYJ2U8M+rZXrlbrAXAjizCVz6rAAZbeSg+iOmKdo="; hash = "sha256-L2LL+Er5nSYpRBW5CO9EBkYY85vnDkuvaOP0kbkH2T4=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.ffs" ];
"dissect.ffs"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the FFS file system"; description = "Dissect module implementing a parser for the FFS file system";

View File

@ -1,20 +1,21 @@
{ lib {
, buildPythonPackage lib,
, defusedxml buildPythonPackage,
, dissect-cstruct defusedxml,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, pycryptodome fetchFromGitHub,
, pytestCheckHook pycryptodome,
, pythonOlder pytestCheckHook,
, rich pythonOlder,
, setuptools rich,
, setuptools-scm setuptools,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-hypervisor"; pname = "dissect-hypervisor";
version = "3.12"; version = "3.13";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -23,15 +24,15 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.hypervisor"; repo = "dissect.hypervisor";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-uQt+oyETjZHPa1QZfswpUX92ZCdzkR5x9deo15J+Fxo="; hash = "sha256-6sjRkhZOmAckzu/lUA4Sw48cmKfMOGLGgB5dB6M06qQ=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
defusedxml defusedxml
dissect-cstruct dissect-cstruct
dissect-util dissect-util
@ -44,13 +45,9 @@ buildPythonPackage rec {
]; ];
}; };
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.hypervisor" ];
"dissect.hypervisor"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files"; description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files";

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-jffs"; pname = "dissect-jffs";
version = "1.1"; version = "1.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.jffs"; repo = "dissect.jffs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-jzSPR4pkvXRQ3Q/qL7Oa3mLX3hW2IhbXuuO0jTc8Gvg="; hash = "sha256-aElQR9QDC2110QZdk+PKkBky6FUXz9pSTJV7weTBvAE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -11,16 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-ntfs"; pname = "dissect-ntfs";
version = "3.9"; version = "3.10";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.ntfs"; repo = "dissect.ntfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-gjmxoxz4Qf2FsCP72siEpVLeqlZfvhuFZHSGr1n+cY0="; hash = "sha256-7D+5Btvm9fWwtVjVpKNc0VU7seyZXFxR7tEh7CAh7io=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,33 +1,34 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pythonOlder setuptools-scm,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-ole"; pname = "dissect-ole";
version = "3.7"; version = "3.8";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.ole"; repo = "dissect.ole";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Df6OU1vVsQl7d119W8+8YmUiy2+m6Dw3LpKnMVSRRR4="; hash = "sha256-VWbgQhKV1vJBRQROrJXbJ7qDIVOfZwvjsRwUbm7q7OQ=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
@ -35,9 +36,7 @@ buildPythonPackage rec {
# Module has no tests # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.ole" ];
"dissect.ole"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format"; description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format";

View File

@ -11,16 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-regf"; pname = "dissect-regf";
version = "3.9"; version = "3.10";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.regf"; repo = "dissect.regf";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-NLhZnStcJCtXMBkayLjvuG7aK2aN3sWGZaPKVXIoRew="; hash = "sha256-uMC5av4NAzDF5JRUz4L8/jTLrBv9blNMYtM6dOuHe5s=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,45 +1,42 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-shellitem"; pname = "dissect-shellitem";
version = "3.7"; version = "3.8";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.shellitem"; repo = "dissect.shellitem";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-E5v7WuAd47X/1LSeaje4EUv+GuFq5Ksg4ndOScFreYE="; hash = "sha256-zoq42Au2dNJTryj3GNXJrEGvE0az8psPuMXoJNc74QM=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.shellitem" ];
"dissect.shellitem"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the Shellitem structures"; description = "Dissect module implementing a parser for the Shellitem structures";

View File

@ -1,45 +1,42 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
, setuptools-scm setuptools,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-sql"; pname = "dissect-sql";
version = "3.8"; version = "3.9";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.sql"; repo = "dissect.sql";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-f19l1NxIdkQRaqEAgeTIuloPY079TmnNZ/DLQEXFQIA="; hash = "sha256-aq/p6oa+6C2BS2TV8YYXwGP580tIHYZqO455bYm0yeo=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.sql" ];
"dissect.sql"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parsers for the SQLite database file format"; description = "Dissect module implementing a parsers for the SQLite database file format";

View File

@ -1,20 +1,21 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, lz4 fetchFromGitHub,
, python-lzo lz4,
, pythonOlder python-lzo,
, setuptools pythonOlder,
, setuptools-scm setuptools,
, zstandard setuptools-scm,
zstandard,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-squashfs"; pname = "dissect-squashfs";
version = "1.4"; version = "1.5";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,15 +23,15 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.squashfs"; repo = "dissect.squashfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-y6RXtHJev83m7mYdNLG640TRUPEGbi6l942zlMWXky0="; hash = "sha256-eylLBPim3dmo8h95lRmlh8O9m458K07TH2uK+hn3nKs=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
@ -43,9 +44,7 @@ buildPythonPackage rec {
]; ];
}; };
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.squashfs" ];
"dissect.squashfs"
];
meta = with lib; { meta = with lib; {
description = "Dissect module implementing a parser for the SquashFS file system"; description = "Dissect module implementing a parser for the SquashFS file system";

View File

@ -3,6 +3,7 @@
, asn1crypto , asn1crypto
, buildPythonPackage , buildPythonPackage
, defusedxml , defusedxml
, dissect-btrfs
, dissect-cim , dissect-cim
, dissect-clfs , dissect-clfs
, dissect-cstruct , dissect-cstruct
@ -16,8 +17,8 @@
, dissect-hypervisor , dissect-hypervisor
, dissect-ntfs , dissect-ntfs
, dissect-regf , dissect-regf
, dissect-sql
, dissect-shellitem , dissect-shellitem
, dissect-sql
, dissect-thumbcache , dissect-thumbcache
, dissect-util , dissect-util
, dissect-volume , dissect-volume
@ -25,21 +26,24 @@
, fetchFromGitHub , fetchFromGitHub
, flow-record , flow-record
, fusepy , fusepy
, impacket
, ipython , ipython
, paho-mqtt
, pycryptodome , pycryptodome
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pyyaml , ruamel-yaml
, setuptools , setuptools
, setuptools-scm , setuptools-scm
, structlog , structlog
, tomli
, yara-python , yara-python
, zstandard , zstandard
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-target"; pname = "dissect-target";
version = "3.16"; version = "3.17";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -48,20 +52,20 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.target"; repo = "dissect.target";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-2c8OFwbgSc7zwbjQm2g8y1ZyiYM0KPFjTEUrk06c174="; hash = "sha256-UIgHjSTHaxo8jCqe+R6rRxQXX8RUFKAI5+zscInAtgg=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-warn "flow.record~=" "flow.record>=" --replace-fail "flow.record~=" "flow.record>="
''; '';
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
defusedxml defusedxml
dissect-cstruct dissect-cstruct
dissect-eventlog dissect-eventlog
@ -78,6 +82,7 @@ buildPythonPackage rec {
passthru.optional-dependencies = { passthru.optional-dependencies = {
full = [ full = [
asn1crypto asn1crypto
dissect-btrfs
dissect-cim dissect-cim
dissect-clfs dissect-clfs
dissect-esedb dissect-esedb
@ -92,10 +97,19 @@ buildPythonPackage rec {
fusepy fusepy
ipython ipython
pycryptodome pycryptodome
pyyaml ruamel-yaml
yara-python yara-python
zstandard zstandard
]; ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
yara = [
yara-python
] ++ passthru.optional-dependencies.full;
smb = [
impacket
] ++ passthru.optional-dependencies.full;
mqtt = [
paho-mqtt
] ++ passthru.optional-dependencies.full;
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -121,18 +135,34 @@ buildPythonPackage rec {
# Tests compare dates and times # Tests compare dates and times
"yum" "yum"
# Filesystem access, windows defender tests # Filesystem access, windows defender tests
"test_config_tree_plugin"
"test_defender_quarantine_recovery" "test_defender_quarantine_recovery"
"test_execute_pipeline"
"test_keychain_register_keychain_file"
"test_plugins_child_docker"
"test_plugins_child_wsl"
"test_reg_output"
"test_regflex"
"test_systemd_basic_syntax"
"test_target_cli_unicode_argparse"
"test_target_query"
] ++ ] ++
# test is broken on Darwin # test is broken on Darwin
lib.optional stdenv.hostPlatform.isDarwin "test_fs_attrs_no_os_listxattr"; lib.optional stdenv.hostPlatform.isDarwin "test_fs_attrs_no_os_listxattr";
disabledTestPaths = [ disabledTestPaths = [
# Tests are using Windows paths # Tests are using Windows paths, missing test files
"tests/plugins/apps/browser/" "tests/plugins/apps/"
# ValueError: Invalid Locate file magic. Expected /x00LOCATE02/x00 # ValueError: Invalid Locate file magic. Expected /x00LOCATE02/x00
"tests/plugins/os/unix/locate/" "tests/plugins/os/unix/locate/"
# Missing plugin support # Missing plugin support
"tests/tools/test_reg.py" "tests/tools/test_dump.py"
"tests/plugins/os/"
"tests/plugins/filesystem/"
"tests/test_registration.py"
"tests/filesystems/"
"tests/test_filesystem.py"
"tests/loaders/"
]; ];
meta = with lib; { meta = with lib; {

View File

@ -1,17 +1,18 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
, setuptools-scm setuptools,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-thumbcache"; pname = "dissect-thumbcache";
version = "1.7"; version = "1.8";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,26 +21,22 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.thumbcache"; repo = "dissect.thumbcache";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-t5LovLS+YMWQWMCFP6jh3SNiLb/Jy9we4FX6MmsIJmY="; hash = "sha256-LcuuRVSnZVFtht03MD8qVNNPljVUzGa8vXu9GQPOgjs=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.thumbcache" ];
"dissect.thumbcache"
];
disabledTests = [ disabledTests = [
# Don't run Windows related tests # Don't run Windows related tests

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-util"; pname = "dissect-util";
version = "3.15"; version = "3.16";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.util"; repo = "dissect.util";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-JIrk6YRuW5B30d9fNaRFesO01ajcSy8ErkpFtM1Coaw="; hash = "sha256-OHlWOWB476KERerEo2ZYLMIIO+eIpKlNLOHMCiE5jdE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -11,16 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-vmfs"; pname = "dissect-vmfs";
version = "3.7"; version = "3.8";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.vmfs"; repo = "dissect.vmfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-HJV7cwNMFvHURt2dk/c1YbgFaHXRESREJ5ucmUsuS78="; hash = "sha256-AcVWKUgykgTgP0haBOtWR+wNWzc/PN9qIwVJMqNg8hg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -11,16 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-volume"; pname = "dissect-volume";
version = "3.9"; version = "3.10";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.volume"; repo = "dissect.volume";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Bhi3p0joTNx1y/yBhehhG06WmM7gUJhIJbmqZY4DzLQ="; hash = "sha256-tQNmSnQBchj3SUq2XPsK/LWrKiCw4MFKmopHbxnzMxg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,45 +1,42 @@
{ lib {
, buildPythonPackage lib,
, dissect-cstruct buildPythonPackage,
, dissect-util dissect-cstruct,
, fetchFromGitHub dissect-util,
, setuptools fetchFromGitHub,
, setuptools-scm setuptools,
, pytestCheckHook setuptools-scm,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect-xfs"; pname = "dissect-xfs";
version = "3.8"; version = "3.9";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fox-it"; owner = "fox-it";
repo = "dissect.xfs"; repo = "dissect.xfs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-U/VDFeCyOPlefFL/QVRVknpCBDLuVYvVHI49QSe+QFM="; hash = "sha256-jUNstyHVPJazf4idXNe9xICpi0MKkz8q0rWUEHjk2ZA=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
dissect-cstruct dissect-cstruct
dissect-util dissect-util
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "dissect.xfs" ];
"dissect.xfs"
];
# Archive files seems to be corrupt # Archive files seems to be corrupt
doCheck = false; doCheck = false;

View File

@ -1,41 +1,43 @@
{ lib {
, buildPythonPackage lib,
, dissect-btrfs buildPythonPackage,
, dissect-cim dissect-archive,
, dissect-clfs dissect-btrfs,
, dissect-cobaltstrike dissect-cim,
, dissect-cstruct dissect-clfs,
, dissect-esedb dissect-cobaltstrike,
, dissect-etl dissect-cstruct,
, dissect-eventlog dissect-esedb,
, dissect-evidence dissect-etl,
, dissect-executable dissect-eventlog,
, dissect-extfs dissect-evidence,
, dissect-fat dissect-executable,
, dissect-ffs dissect-extfs,
, dissect-hypervisor dissect-fat,
, dissect-jffs dissect-ffs,
, dissect-ntfs dissect-hypervisor,
, dissect-ole dissect-jffs,
, dissect-regf dissect-ntfs,
, dissect-shellitem dissect-ole,
, dissect-sql dissect-regf,
, dissect-squashfs dissect-shellitem,
, dissect-target dissect-sql,
, dissect-util dissect-squashfs,
, dissect-vmfs dissect-target,
, dissect-volume dissect-util,
, dissect-xfs dissect-vmfs,
, fetchFromGitHub dissect-volume,
, pythonOlder dissect-xfs,
, pythonRelaxDepsHook fetchFromGitHub,
, setuptools pythonOlder,
, setuptools-scm pythonRelaxDepsHook,
setuptools,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dissect"; pname = "dissect";
version = "3.13"; version = "3.14";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -44,18 +46,20 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "dissect"; repo = "dissect";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-cnNaqXECePP2DmLRAm/Fi9m88rYSsVVMrpcqYd0iL1E="; hash = "sha256-wHLpysvOkJ1t0KKJXwfeRp/7mSom5WvrJ0lyRGoDwJM=";
}; };
pythonRelaxDeps = true; pythonRelaxDeps = true;
nativeBuildInputs = [ build-system = [
pythonRelaxDepsHook
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
dissect-archive
dissect-btrfs dissect-btrfs
dissect-cim dissect-cim
dissect-clfs dissect-clfs
@ -87,9 +91,7 @@ buildPythonPackage rec {
# Module has no tests # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "dissect" ];
"dissect"
];
meta = with lib; { meta = with lib; {
description = "Dissect meta module"; description = "Dissect meta module";

View File

@ -1,21 +1,21 @@
{ lib {
, buildPythonPackage lib,
, elasticsearch buildPythonPackage,
, fastavro elasticsearch,
, fetchFromGitHub fastavro,
, lz4 fetchFromGitHub,
, msgpack lz4,
, pytest7CheckHook msgpack,
, pythonOlder pytest7CheckHook,
, setuptools pythonOlder,
, setuptools-scm setuptools,
, wheel setuptools-scm,
, zstandard zstandard,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "flow-record"; pname = "flow-record";
version = "3.14"; version = "3.15";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,48 +24,37 @@ buildPythonPackage rec {
owner = "fox-it"; owner = "fox-it";
repo = "flow.record"; repo = "flow.record";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-8XQeXfrgTk+jHR1ABlEEIn3E/MkUkGnvkgzePws4qhQ="; hash = "sha256-j5N66p7feB9Ae+Fu5RhVzh8XCHiq55jJMg0Fe+C6Jvg=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
wheel
]; ];
propagatedBuildInputs = [ dependencies = [ msgpack ];
msgpack
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
compression = [ compression = [
lz4 lz4
zstandard zstandard
]; ];
elastic = [ elastic = [ elasticsearch ];
elasticsearch avro = [ fastavro ] ++ fastavro.optional-dependencies.snappy;
];
avro = [
fastavro
] ++ fastavro.optional-dependencies.snappy;
}; };
nativeCheckInputs = [ nativeCheckInputs = [
pytest7CheckHook pytest7CheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ pythonImportsCheck = [ "flow.record" ];
"flow.record"
];
disabledTestPaths = [ disabledTestPaths = [
# Test requires rdump # Test requires rdump
"tests/test_rdump.py" "tests/test_rdump.py"
]; ];
disabledTests = [ disabledTests = [ "test_rdump_fieldtype_path_json" ];
"test_rdump_fieldtype_path_json"
];
meta = with lib; { meta = with lib; {
description = "Library for defining and creating structured data"; description = "Library for defining and creating structured data";

View File

@ -3034,6 +3034,8 @@ self: super: with self; {
dissect = callPackage ../development/python-modules/dissect { }; dissect = callPackage ../development/python-modules/dissect { };
dissect-archive = callPackage ../development/python-modules/dissect-archive { };
dissect-btrfs = callPackage ../development/python-modules/dissect-btrfs { }; dissect-btrfs = callPackage ../development/python-modules/dissect-btrfs { };
dissect-cim = callPackage ../development/python-modules/dissect-cim { }; dissect-cim = callPackage ../development/python-modules/dissect-cim { };