mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
5c56fcbe1e
Diff: https://github.com/volatilityfoundation/volatility3/compare/refs/tags/v2.4.1...v2.5.0 Changelog: https://github.com/volatilityfoundation/volatility3/releases/tag/v2.5.0
48 lines
1022 B
Nix
48 lines
1022 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "volatility3";
|
|
version = "2.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "volatilityfoundation";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-yutQbrWmJGDsTccQcR+HtC8JvgmsXfCxbxxcMLDx5vk=";
|
|
};
|
|
|
|
propagatedBuildInputs = 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 ];
|
|
};
|
|
}
|