diff --git a/pkgs/tools/security/yara/default.nix b/pkgs/tools/security/yara/default.nix index a0a06e2906c4..082f163437cf 100644 --- a/pkgs/tools/security/yara/default.nix +++ b/pkgs/tools/security/yara/default.nix @@ -14,23 +14,31 @@ }: stdenv.mkDerivation rec { - version = "4.1.3"; pname = "yara"; + version = "4.2.0-rc1"; src = fetchFromGitHub { owner = "VirusTotal"; - repo = "yara"; + repo = pname; rev = "v${version}"; - sha256 = "sha256-7t2KksI3l+wFHqUSw2L4FXepMTJfTow/cTFYA47YBqY="; + hash = "sha256-WcN6ClYO2d+/MdG06RHx3kN0o0WVAY876dJiG7CwJ8w="; }; - nativeBuildInputs = [ autoreconfHook pkg-config ]; + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; - buildInputs = [ pcre protobufc ] - ++ lib.optionals withCrypto [ openssl ] - ++ lib.optionals enableMagic [ file ] - ++ lib.optionals enableCuckoo [ jansson ] - ; + buildInputs = [ + pcre + protobufc + ] ++ lib.optionals withCrypto [ + openssl + ] ++ lib.optionals enableMagic [ + file + ] ++ lib.optionals enableCuckoo [ + jansson + ]; preConfigure = "./bootstrap.sh";