|
|
@ -10,6 +10,7 @@ |
|
|
|
, enableDotNet ? true |
|
|
|
, enableDotNet ? true |
|
|
|
, enableMacho ? true |
|
|
|
, enableMacho ? true |
|
|
|
, enableMagic ? true, file |
|
|
|
, enableMagic ? true, file |
|
|
|
|
|
|
|
, enableStatic ? false |
|
|
|
}: |
|
|
|
}: |
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
stdenv.mkDerivation rec { |
|
|
@ -40,8 +41,11 @@ stdenv.mkDerivation rec { |
|
|
|
(lib.enableFeature enableDotNet "dotnet") |
|
|
|
(lib.enableFeature enableDotNet "dotnet") |
|
|
|
(lib.enableFeature enableMacho "macho") |
|
|
|
(lib.enableFeature enableMacho "macho") |
|
|
|
(lib.enableFeature enableMagic "magic") |
|
|
|
(lib.enableFeature enableMagic "magic") |
|
|
|
|
|
|
|
(lib.enableFeature enableStatic "static") |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
doCheck = enableStatic; |
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
meta = with lib; { |
|
|
|
description = "The pattern matching swiss knife for malware researchers"; |
|
|
|
description = "The pattern matching swiss knife for malware researchers"; |
|
|
|
homepage = "http://Virustotal.github.io/yara/"; |
|
|
|
homepage = "http://Virustotal.github.io/yara/"; |
|
|
|