nixpkgs/pkgs/development/python-modules/acquire/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.3 KiB
Nix
Raw Normal View History

2022-10-07 21:01:57 +00:00
{
lib,
buildPythonPackage,
defusedxml,
dissect-cstruct,
dissect-target,
fetchFromGitHub,
minio,
pycryptodome,
pytestCheckHook,
pythonOlder,
requests,
requests-toolbelt,
rich,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "acquire";
version = "3.17";
pyproject = true;
2022-10-07 21:01:57 +00:00
disabled = pythonOlder "3.9";
2022-10-07 21:01:57 +00:00
src = fetchFromGitHub {
owner = "fox-it";
repo = "acquire";
rev = "refs/tags/${version}";
hash = "sha256-Ii19VnLLq+UGH0bkyUbLzHqZpJOXffIGeP4VZ9QG7D0=";
2022-10-07 21:01:57 +00:00
};
2024-05-07 22:51:45 +00:00
build-system = [
2022-10-07 21:01:57 +00:00
setuptools
setuptools-scm
];
2024-05-07 22:51:45 +00:00
dependencies = [
2022-10-07 21:01:57 +00:00
defusedxml
dissect-cstruct
dissect-target
];
optional-dependencies = {
2022-10-07 21:01:57 +00:00
full = [
dissect-target
minio
pycryptodome
requests
requests-toolbelt
rich
] ++ dissect-target.optional-dependencies.full;
};
nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.full;
2022-10-07 21:01:57 +00:00
pythonImportsCheck = [ "acquire" ];
meta = with lib; {
description = "Tool to quickly gather forensic artifacts from disk images or a live system";
homepage = "https://github.com/fox-it/acquire";
changelog = "https://github.com/fox-it/acquire/releases/tag/${version}";
2022-10-07 21:01:57 +00:00
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}