yara: add enableStatic mode
useful because tests can be enabled in this mode
This commit is contained in:
parent
2d7f554229
commit
8cda1cc59e
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user