git.iko.soy/typeable/nixpkgs
on master help sign in
yara: 4.1.3 -> 4.2.0-rc1
commit4e64bd5e4ca225e9aeababa9ed84c4bd6be430d3 authorFabian Affolter <mail@fabian-affolter.ch> dateSun 20 Feb 2022, 23:43 (5 years ago) parent200badb
1 file changed+17−9
pkgs/tools/security/yara/default.nix+17−9
pkgs/tools/security/yara/default.nix+17−9
@@ -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