Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / acquire / default.nix
blob555a60412bf4550166b3d6ed09184d6720d6508c
1 { lib
2 , buildPythonPackage
3 , defusedxml
4 , dissect-cstruct
5 , dissect-target
6 , fetchFromGitHub
7 , minio
8 , pycryptodome
9 , pytestCheckHook
10 , pythonOlder
11 , requests
12 , requests-toolbelt
13 , rich
14 , setuptools
15 , setuptools-scm
18 buildPythonPackage rec {
19   pname = "acquire";
20   version = "3.13";
21   pyproject = true;
23   disabled = pythonOlder "3.9";
25   src = fetchFromGitHub {
26     owner = "fox-it";
27     repo = "acquire";
28     rev = "refs/tags/${version}";
29     hash = "sha256-Z85bHM3MtS2MLX9BaKi8VqA13QjO9KdrgqhuyBzjILQ=";
30   };
32   nativeBuildInputs = [
33     setuptools
34     setuptools-scm
35   ];
37   propagatedBuildInputs = [
38     defusedxml
39     dissect-cstruct
40     dissect-target
41   ];
43   passthru.optional-dependencies = {
44     full = [
45       dissect-target
46       minio
47       pycryptodome
48       requests
49       requests-toolbelt
50       rich
51     ] ++ dissect-target.optional-dependencies.full;
52   };
54   nativeCheckInputs = [
55     pytestCheckHook
56   ] ++ passthru.optional-dependencies.full;
58   pythonImportsCheck = [
59     "acquire"
60   ];
62   meta = with lib; {
63     description = "Tool to quickly gather forensic artifacts from disk images or a live system";
64     homepage = "https://github.com/fox-it/acquire";
65     changelog = "https://github.com/fox-it/acquire/releases/tag/${version}";
66     license = licenses.agpl3Only;
67     maintainers = with maintainers; [ fab ];
68   };