2021-04-18 23:11:14 +00:00
|
|
|
{ lib
|
2021-06-30 17:42:16 +00:00
|
|
|
, python3
|
2021-04-18 23:11:14 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2021-06-30 17:42:16 +00:00
|
|
|
|
|
|
|
python3.pkgs.buildPythonPackage rec {
|
2021-04-18 23:11:14 +00:00
|
|
|
pname = "flare-floss";
|
|
|
|
version = "1.7.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fireeye";
|
|
|
|
repo = "flare-floss";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "GMOA1+qM2A/Qw33kOTIINEvjsfqjWQWBXHNemh3IK8w=";
|
|
|
|
};
|
|
|
|
|
2021-06-30 17:42:16 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-04-18 23:11:14 +00:00
|
|
|
pyyaml
|
|
|
|
simplejson
|
|
|
|
tabulate
|
|
|
|
vivisect
|
|
|
|
plugnplay
|
|
|
|
viv-utils
|
|
|
|
];
|
|
|
|
|
2021-06-30 17:42:16 +00:00
|
|
|
checkInputs = with python3.pkgs; [
|
|
|
|
pytestCheckHook
|
2021-04-18 23:11:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# test data is in a submodule
|
|
|
|
"test_main"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"floss"
|
|
|
|
"floss.plugins"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Automatically extract obfuscated strings from malware";
|
|
|
|
homepage = "https://github.com/fireeye/flare-floss";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.determinatesystems.members;
|
|
|
|
};
|
|
|
|
}
|