yara: enable additional features

wip/yesman
Fabian Affolter 3 years ago
parent 36d4934c39
commit 06514288d6
  1. 10
      pkgs/tools/security/yara/default.nix

@ -6,8 +6,11 @@
, pkg-config
, protobufc
, withCrypto ? true, openssl
, enableMagic ? true, file
, enableCuckoo ? true, jansson
, enableDex ? true
, enableDotNet ? true
, enableMacho ? true
, enableMagic ? true, file
}:
stdenv.mkDerivation rec {
@ -46,8 +49,11 @@ stdenv.mkDerivation rec {
configureFlags = [
(lib.withFeature withCrypto "crypto")
(lib.enableFeature enableMagic "magic")
(lib.enableFeature enableCuckoo "cuckoo")
(lib.enableFeature enableDex "dex")
(lib.enableFeature enableDotNet "dotnet")
(lib.enableFeature enableMacho "macho")
(lib.enableFeature enableMagic "magic")
];
meta = with lib; {

Loading…
Cancel
Save