at 25.11-pre 1.5 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 defusedxml, 5 dissect-cstruct, 6 dissect-target, 7 fetchFromGitHub, 8 minio, 9 pycryptodome, 10 pytestCheckHook, 11 pythonOlder, 12 requests, 13 requests-toolbelt, 14 rich, 15 setuptools, 16 setuptools-scm, 17}: 18 19buildPythonPackage rec { 20 pname = "acquire"; 21 version = "3.18"; 22 pyproject = true; 23 24 disabled = pythonOlder "3.9"; 25 26 src = fetchFromGitHub { 27 owner = "fox-it"; 28 repo = "acquire"; 29 tag = version; 30 hash = "sha256-kDoDPeMvpctNnB+e2LnCZ7fw9AP+AjPYDXwVqKedJ88="; 31 }; 32 33 build-system = [ 34 setuptools 35 setuptools-scm 36 ]; 37 38 dependencies = [ 39 defusedxml 40 dissect-cstruct 41 dissect-target 42 ]; 43 44 optional-dependencies = { 45 full = [ 46 dissect-target 47 minio 48 pycryptodome 49 requests 50 requests-toolbelt 51 rich 52 ] ++ dissect-target.optional-dependencies.full; 53 }; 54 55 nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.full; 56 57 disabledTests = [ 58 "output_encrypt" 59 "test_collector_collect_glob" 60 "test_collector_collect_path_with_dir" 61 "test_misc_osx" 62 "test_misc_unix" 63 ]; 64 65 pythonImportsCheck = [ "acquire" ]; 66 67 meta = with lib; { 68 description = "Tool to quickly gather forensic artifacts from disk images or a live system"; 69 homepage = "https://github.com/fox-it/acquire"; 70 changelog = "https://github.com/fox-it/acquire/releases/tag/${version}"; 71 license = licenses.agpl3Only; 72 maintainers = with maintainers; [ fab ]; 73 }; 74}