yara: 4.4.0 -> 4.5.0

Changes: https://github.com/VirusTotal/yara/releases/tag/v4.5.0
This commit is contained in:
Sergei Trofimovich 2024-02-13 21:53:33 +00:00
parent 68a2e7449b
commit dd35ea3c84

View File

@ -1,6 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pcre
, pkg-config
@ -16,23 +15,15 @@
stdenv.mkDerivation rec {
pname = "yara";
version = "4.4.0";
version = "4.5.0";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = pname;
rev = "v${version}";
hash = "sha256-axHFy7YwLhhww+lh+ORyW6YG+T385msysIHK5SMyhMk=";
hash = "sha256-AecHsUBtBleUkWuYMQ4Tx/PY8cs9j7JwqncBziJD0hA=";
};
patches = [
(fetchpatch {
name = "musl.patch";
url = "https://github.com/VirusTotal/yara/commit/515ed861cf30e154b14a69ffd46c347fb81df72f.patch";
hash = "sha256-2scnUyz0SSkNRlsVQapPgI1ATIPXEogqtxbimYYq4Jo=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config