8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
46 lines
916 B
Nix
46 lines
916 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "volatility3";
|
|
version = "2.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "volatilityfoundation";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-rEqp+V5r4Sk4D+r2ukR1uy4IDj9XQGhYwoYSPeMyKpA=";
|
|
};
|
|
|
|
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/";
|
|
license = {
|
|
# Volatility Software License 1.0
|
|
free = false;
|
|
url = "https://www.volatilityfoundation.org/license/vsl-v1.0";
|
|
};
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|