yara: enable additional features

This commit is contained in:
Fabian Affolter 2021-03-28 13:15:33 +02:00
parent 36d4934c39
commit 06514288d6

View File

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