zlog: 1.2.15 -> 1.2.16

This commit is contained in:
Sandro Jäckel 2022-08-22 01:55:14 +02:00
parent d6ef38857e
commit 97b068de11
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,24 +1,16 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.2.15";
version = "1.2.16";
pname = "zlog";
src = fetchFromGitHub {
owner = "HardySimpson";
repo = pname;
rev = version;
sha256 = "10hzifgpml7jm43y6v8c8q0cr9ziyx9qxznafxyw6glhnlqnb7pb";
sha256 = "sha256-wpaMbFKSwTIFe3p65pMJ6Pf2qKp1uYZCyyinGU4AxrQ=";
};
patches = [
(fetchpatch {
name = "CVE-2021-43521.patch";
url = "https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3.patch";
sha256 = "sha256-igHXUHN2Ke8Gb5AeDrDwG2aUNRpispgqVlGuASute+8=";
})
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
@ -29,5 +21,4 @@ stdenv.mkDerivation rec {
mainProgram = "zlog-chk-conf";
platforms = platforms.unix;
};
}