mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
yara: 4.1.3 -> 4.2.0-rc1
This commit is contained in:
parent
200badba2d
commit
4e64bd5e4c
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user