uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
46
pkgs/tools/security/flare-floss/default.nix
Normal file
46
pkgs/tools/security/flare-floss/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue