yara: 4.1.3 -> 4.2.0-rc1

This commit is contained in:
Fabian Affolter 2022-02-20 23:43:22 +01:00
parent 200badba2d
commit 4e64bd5e4c

View file

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