@@ -14,23 +14,31 @@
1414}:
1515
1616stdenv.mkDerivation rec {
17− version = "4.1.3";
1817 pname = "yara";
18+ version = "4.2.0-rc1";
1919
2020 src = fetchFromGitHub {
2121 owner = "VirusTotal";
22− repo = "yara";
22+ repo = pname;
2323 rev = "v${version}";
24− sha256 = "sha256-7t2KksI3l+wFHqUSw2L4FXepMTJfTow/cTFYA47YBqY=";
24+ hash = "sha256-WcN6ClYO2d+/MdG06RHx3kN0o0WVAY876dJiG7CwJ8w=";
2525 };
2626
27− nativeBuildInputs = [ autoreconfHook pkg-config ];
27+ nativeBuildInputs = [
28+ autoreconfHook
29+ pkg-config
30+ ];
2831
29− buildInputs = [ pcre protobufc ]
30− ++ lib.optionals withCrypto [ openssl ]
31− ++ lib.optionals enableMagic [ file ]
32− ++ lib.optionals enableCuckoo [ jansson ]
33− ;
32+ buildInputs = [
33+ pcre
34+ protobufc
35+ ] ++ lib.optionals withCrypto [
36+ openssl
37+ ] ++ lib.optionals enableMagic [
38+ file
39+ ] ++ lib.optionals enableCuckoo [
40+ jansson
41+ ];
3442
3543 preConfigure = "./bootstrap.sh";
3644