nixpkgs-suyu/pkgs/tools/security/flare-floss/default.nix

47 lines
867 B
Nix
Raw Normal View History

2021-04-19 01:11:14 +02:00
{ lib
2021-06-30 19:42:16 +02:00
, python3
2021-04-19 01:11:14 +02:00
, fetchFromGitHub
}:
2021-06-30 19:42:16 +02:00
python3.pkgs.buildPythonPackage rec {
2021-04-19 01:11:14 +02: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 19:42:16 +02:00
propagatedBuildInputs = with python3.pkgs; [
2021-04-19 01:11:14 +02:00
pyyaml
simplejson
tabulate
vivisect
plugnplay
viv-utils
];
2021-06-30 19:42:16 +02:00
checkInputs = with python3.pkgs; [
pytestCheckHook
2021-04-19 01:11:14 +02: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;
};
}