diff options
author | Robert Scott <code@humanleg.org.uk> | 2021-05-29 20:47:22 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2021-05-30 11:59:05 +0100 |
commit | 8cda1cc59e7cd01ce2ff18bc78f6b7a0e7faed19 (patch) | |
tree | 3edaef9cb6f065147ee54f34d06d241f4c478890 /pkgs/tools/security/yara | |
parent | 2d7f554229393ddb0441dd31e37db7ad7b48dab0 (diff) |
yara: add enableStatic mode
useful because tests can be enabled in this mode
Diffstat (limited to 'pkgs/tools/security/yara')
-rw-r--r-- | pkgs/tools/security/yara/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/security/yara/default.nix b/pkgs/tools/security/yara/default.nix index 3d4411d9087c1..3eb5495d2c968 100644 --- a/pkgs/tools/security/yara/default.nix +++ b/pkgs/tools/security/yara/default.nix @@ -10,6 +10,7 @@ , enableDotNet ? true , enableMacho ? true , enableMagic ? true, file +, enableStatic ? false }: stdenv.mkDerivation rec { @@ -40,8 +41,11 @@ stdenv.mkDerivation rec { (lib.enableFeature enableDotNet "dotnet") (lib.enableFeature enableMacho "macho") (lib.enableFeature enableMagic "magic") + (lib.enableFeature enableStatic "static") ]; + doCheck = enableStatic; + meta = with lib; { description = "The pattern matching swiss knife for malware researchers"; homepage = "http://Virustotal.github.io/yara/"; |