about summary refs log tree commit diff
path: root/pkgs/tools/security/flare-floss
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2021-04-18 16:11:14 -0700
committerCole Helbling <cole.e.helbling@outlook.com>2021-04-21 11:21:10 -0700
commit5f45085a3f78142dbb576d57a541f5e441915916 (patch)
tree64903637ae2037b8069da9c9ec4caa36d7543f18 /pkgs/tools/security/flare-floss
parentba3ddfb8f74bdecfcc55dfd12927dc2a23057e0d (diff)
flare-floss: init at 1.7.0
Diffstat (limited to 'pkgs/tools/security/flare-floss')
-rw-r--r--pkgs/tools/security/flare-floss/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/tools/security/flare-floss/default.nix b/pkgs/tools/security/flare-floss/default.nix
new file mode 100644
index 0000000000000..954dd07d6ab8e
--- /dev/null
+++ b/pkgs/tools/security/flare-floss/default.nix
@@ -0,0 +1,46 @@
+{ 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;
+  };
+}