mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python310Packages.acquire: init at 3.2
This commit is contained in:
70
pkgs/development/python-modules/acquire/default.nix
Normal file
70
pkgs/development/python-modules/acquire/default.nix
Normal file
@@ -0,0 +1,70 @@
|
||||
{ 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.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fox-it";
|
||||
repo = "acquire";
|
||||
rev = version;
|
||||
hash = "sha256-YwmrdqWG5qD621+jQMVyTM0Uy0yXCVPv9zfVhZ+ohg0=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
defusedxml
|
||||
dissect-cstruct
|
||||
dissect-target
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
full = [
|
||||
dissect-target
|
||||
minio
|
||||
pycryptodome
|
||||
requests
|
||||
requests-toolbelt
|
||||
rich
|
||||
] ++ dissect-target.optional-dependencies.full;
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.full;
|
||||
|
||||
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";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -1106,6 +1106,8 @@ with pkgs;
|
||||
|
||||
acpica-tools = callPackage ../tools/system/acpica-tools { };
|
||||
|
||||
acquire = with python3Packages; toPythonApplication acquire;
|
||||
|
||||
act = callPackage ../development/tools/misc/act { };
|
||||
|
||||
actdiag = with python3.pkgs; toPythonApplication actdiag;
|
||||
|
||||
@@ -171,6 +171,8 @@ in {
|
||||
|
||||
acoustics = callPackage ../development/python-modules/acoustics { };
|
||||
|
||||
acquire = callPackage ../development/python-modules/acquire { };
|
||||
|
||||
actdiag = callPackage ../development/python-modules/actdiag { };
|
||||
|
||||
adafruit-io = callPackage ../development/python-modules/adafruit-io { };
|
||||
|
||||
Reference in New Issue
Block a user