|
|
|
@ -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; { |
|
|
|
|