@@ -6,8 +6,11 @@
66, pkg-config
77, protobufc
88, withCrypto ? true, openssl
9−, enableMagic ? true, file
109, enableCuckoo ? true, jansson
10+, enableDex ? true
11+, enableDotNet ? true
12+, enableMacho ? true
13+, enableMagic ? true, file
1114}:
1215
1316stdenv.mkDerivation rec {
@@ -46,14 +49,18 @@ stdenv.mkDerivation rec {
4649
4750 configureFlags = [
4851 (lib.withFeature withCrypto "crypto")
49− (lib.enableFeature enableMagic "magic")
5052 (lib.enableFeature enableCuckoo "cuckoo")
53+ (lib.enableFeature enableDex "dex")
54+ (lib.enableFeature enableDotNet "dotnet")
55+ (lib.enableFeature enableMacho "macho")
56+ (lib.enableFeature enableMagic "magic")
5157 ];
5258
5359 meta = with lib; {
5460 description = "The pattern matching swiss knife for malware researchers";
5561 homepage = "http://Virustotal.github.io/yara/";
5662 license = licenses.asl20;
63+ maintainers = with maintainers; [ fab ];
5764 platforms = platforms.all;
5865 };
5966}