Merge pull request #179620 from Atry/master

This commit is contained in:
Martin Weinelt 2022-07-05 19:14:14 +02:00 committed by GitHub
commit d2e0e42473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,8 @@
{ callPackage, zlib }:
callPackage ./common.nix rec {
version = "0.4.0";
version = "0.4.1";
url = "https://www.prevanders.net/libdwarf-${version}.tar.xz";
sha512 = "30e5c6c1fc95aa28a014007a45199160e1d9ba870b196d6f98e6dd21a349e9bb31bba1bd6817f8ef9a89303bed0562182a7d46fcbb36aedded76c2f1e0052e1e";
sha512 = "793fe487de80fe6878f022b90f49ec334a0d7db071ff22a11902db5e3457cc7f3f853945a9ac74de2c40f7f388277f21c5b2e62745bca92d2bb55c51e9577693";
buildInputs = [ zlib ];
knownVulnerabilities = [];
}

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, buildInputs, sha512, version, libelf, url }:
{ lib, stdenv, fetchurl, buildInputs, sha512, version, libelf, url, knownVulnerabilities }:
stdenv.mkDerivation rec {
pname = "libdwarf";
@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.unix;
license = lib.licenses.lgpl21Plus;
maintainers = [ lib.maintainers.atry ];
inherit knownVulnerabilities;
};
}

View file

@ -4,4 +4,5 @@ callPackage ./common.nix rec {
url = "https://www.prevanders.net/libdwarf-${version}.tar.gz";
sha512 = "e0f9c88554053ee6c1b1333960891189e7820c4a4ddc302b7e63754a4cdcfc2acb1b4b6083a722d1204a75e994fff3401ecc251b8c3b24090f8cb4046d90f870";
buildInputs = [ zlib libelf ];
knownVulnerabilities = [ "CVE-2022-32200" ];
}