nixpkgs/pkgs/tools/security/volatility3/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
916 B
Nix
Raw Normal View History

2021-09-28 20:32:56 +01:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "volatility3";
2022-03-17 21:29:46 +00:00
version = "2.0.1";
2021-09-28 20:32:56 +01:00
src = fetchFromGitHub {
owner = "volatilityfoundation";
repo = pname;
rev = "v${version}";
2022-03-18 09:37:43 +00:00
hash = "sha256-rEqp+V5r4Sk4D+r2ukR1uy4IDj9XQGhYwoYSPeMyKpA=";
2021-09-28 20:32:56 +01:00
};
propagatedBuildInputs = with python3.pkgs; [
capstone
jsonschema
pefile
pycryptodome
yara-python
];
preBuild = ''
export HOME=$(mktemp -d);
'';
# Project has no tests
doCheck = false;
2022-03-18 09:37:43 +00:00
pythonImportsCheck = [
"volatility3"
];
2021-09-28 20:32:56 +01:00
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 ];
};
}