Skip to content

Commit

Permalink
libdwarf: sha512 → hash
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud authored and wegank committed Sep 22, 2023
1 parent 6b2889e commit a6530e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libdwarf/20210528.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
callPackage ./common.nix rec {
version = "20210528";
url = "https://www.prevanders.net/libdwarf-${version}.tar.gz";
sha512 = "e0f9c88554053ee6c1b1333960891189e7820c4a4ddc302b7e63754a4cdcfc2acb1b4b6083a722d1204a75e994fff3401ecc251b8c3b24090f8cb4046d90f870";
hash = "sha512-4PnIhVQFPubBsTM5YIkRieeCDEpN3DArfmN1Skzc/CrLG0tgg6ci0SBKdemU//NAHswlG4w7JAkPjLQEbZD4cA==";
buildInputs = [ zlib libelf ];
knownVulnerabilities = [ "CVE-2022-32200" "CVE-2022-39170" ];
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libdwarf/common.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ lib, stdenv, fetchurl, buildInputs, sha512, version, libelf, url, knownVulnerabilities }:
{ lib, stdenv, fetchurl, buildInputs, hash, version, libelf, url, knownVulnerabilities }:

stdenv.mkDerivation rec {
pname = "libdwarf";
inherit version;

src = fetchurl {
inherit url sha512;
inherit url hash;
};

configureFlags = [ "--enable-shared" "--disable-nonshared" ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libdwarf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
callPackage ./common.nix rec {
version = "0.4.2";
url = "https://www.prevanders.net/libdwarf-${version}.tar.xz";
sha512 = "6d2a3ebf0104362dd9cecec272935684f977db119810eea0eec88c9f56a042f260a4f6ed3bbabde8592fe16f98cbd81b4ab2878005140e05c8f475df6380d1c2";
hash = "sha512-bSo+vwEENi3Zzs7CcpNWhPl32xGYEO6g7siMn1agQvJgpPbtO7q96Fkv4W+Yy9gbSrKHgAUUDgXI9HXfY4DRwg==";
buildInputs = [ zlib ];
knownVulnerabilities = [];
}

0 comments on commit a6530e8

Please sign in to comment.