depot/third_party/nixpkgs/pkgs/tools/security/flare-floss/default.nix
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03:00

46 lines
867 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.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 python3.pkgs; [
pyyaml
simplejson
tabulate
vivisect
plugnplay
viv-utils
];
checkInputs = with python3.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;
};
}