about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/flare-floss/default.nix
blob: 954dd07d6ab8ee4fea08e64d46c25b373bfed031 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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;
  };
}