2189cff663
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
46 lines
871 B
Nix
46 lines
871 B
Nix
{ lib
|
|
, python2
|
|
, fetchFromGitHub
|
|
}:
|
|
python2.pkgs.buildPythonPackage rec {
|
|
pname = "flare-floss";
|
|
version = "1.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fireeye";
|
|
repo = "flare-floss";
|
|
rev = "v${version}";
|
|
sha256 = "GMOA1+qM2A/Qw33kOTIINEvjsfqjWQWBXHNemh3IK8w=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python2.pkgs; [
|
|
pyyaml
|
|
simplejson
|
|
tabulate
|
|
vivisect
|
|
plugnplay
|
|
viv-utils
|
|
enum34
|
|
];
|
|
|
|
checkInputs = [
|
|
python2.pkgs.pytestCheckHook
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|