2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
dissect-archive,
|
|
|
|
dissect-btrfs,
|
|
|
|
dissect-cim,
|
|
|
|
dissect-clfs,
|
|
|
|
dissect-cobaltstrike,
|
|
|
|
dissect-cstruct,
|
|
|
|
dissect-esedb,
|
|
|
|
dissect-etl,
|
|
|
|
dissect-eventlog,
|
|
|
|
dissect-evidence,
|
|
|
|
dissect-executable,
|
|
|
|
dissect-extfs,
|
|
|
|
dissect-fat,
|
|
|
|
dissect-ffs,
|
|
|
|
dissect-hypervisor,
|
|
|
|
dissect-jffs,
|
|
|
|
dissect-ntfs,
|
|
|
|
dissect-ole,
|
|
|
|
dissect-regf,
|
|
|
|
dissect-shellitem,
|
|
|
|
dissect-sql,
|
|
|
|
dissect-squashfs,
|
|
|
|
dissect-target,
|
|
|
|
dissect-util,
|
|
|
|
dissect-vmfs,
|
|
|
|
dissect-volume,
|
|
|
|
dissect-xfs,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pythonOlder,
|
|
|
|
pythonRelaxDepsHook,
|
|
|
|
setuptools,
|
|
|
|
setuptools-scm,
|
2022-10-21 18:38:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dissect";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.14";
|
2024-02-07 01:22:34 +00:00
|
|
|
pyproject = true;
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fox-it";
|
|
|
|
repo = "dissect";
|
2023-02-16 17:41:37 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-wHLpysvOkJ1t0KKJXwfeRp/7mSom5WvrJ0lyRGoDwJM=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
pythonRelaxDeps = true;
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [
|
2022-10-21 18:38:19 +00:00
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
dissect-archive
|
2024-02-07 01:22:34 +00:00
|
|
|
dissect-btrfs
|
2022-10-21 18:38:19 +00:00
|
|
|
dissect-cim
|
|
|
|
dissect-clfs
|
2023-07-15 17:15:38 +00:00
|
|
|
dissect-cobaltstrike
|
2022-10-21 18:38:19 +00:00
|
|
|
dissect-cstruct
|
|
|
|
dissect-esedb
|
|
|
|
dissect-etl
|
|
|
|
dissect-eventlog
|
|
|
|
dissect-evidence
|
2023-02-16 17:41:37 +00:00
|
|
|
dissect-executable
|
2022-10-21 18:38:19 +00:00
|
|
|
dissect-extfs
|
|
|
|
dissect-fat
|
|
|
|
dissect-ffs
|
|
|
|
dissect-hypervisor
|
2024-02-07 01:22:34 +00:00
|
|
|
dissect-jffs
|
2022-10-21 18:38:19 +00:00
|
|
|
dissect-ntfs
|
|
|
|
dissect-ole
|
|
|
|
dissect-regf
|
|
|
|
dissect-shellitem
|
|
|
|
dissect-sql
|
2023-02-16 17:41:37 +00:00
|
|
|
dissect-squashfs
|
2022-10-21 18:38:19 +00:00
|
|
|
dissect-target
|
|
|
|
dissect-util
|
|
|
|
dissect-vmfs
|
|
|
|
dissect-volume
|
|
|
|
dissect-xfs
|
|
|
|
] ++ dissect-target.optional-dependencies.full;
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonImportsCheck = [ "dissect" ];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dissect meta module";
|
|
|
|
homepage = "https://github.com/fox-it/dissect";
|
2023-02-16 17:41:37 +00:00
|
|
|
changelog = "https://github.com/fox-it/dissect/releases/tag/${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.agpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|