depot/third_party/nixpkgs/pkgs/tools/security/volatility3/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

52 lines
1.1 KiB
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "volatility3";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "volatilityfoundation";
repo = "volatility3";
rev = "refs/tags/v${version}";
hash = "sha256-elTUAvSe91TqpsTXg08SPKaVr6iM7FKcBaVNunv+HfU=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
capstone
jsonschema
pefile
pycryptodome
yara-python
];
preBuild = ''
export HOME=$(mktemp -d);
'';
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"volatility3"
];
meta = with lib; {
description = "Volatile memory extraction frameworks";
homepage = "https://www.volatilityfoundation.org/";
changelog = "https://github.com/volatilityfoundation/volatility3/releases/tag/v${version}";
license = {
# Volatility Software License 1.0
free = false;
url = "https://www.volatilityfoundation.org/license/vsl-v1.0";
};
maintainers = with maintainers; [ fab ];
};
}