Merge pull request #161127 from fabaff/bump-yara

yara: 4.1.3 -> 4.2.0-rc1
This commit is contained in:
Fabian Affolter 2022-02-25 12:53:52 +01:00 committed by GitHub
commit a9578062cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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