2021-09-18 10:52:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, elfutils }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dwz";
|
|
|
|
version = "0.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.sourceware.org/ftp/${pname}/releases/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "07qdvzfk4mvbqj5z3aff7vc195dxqn1mi27w2dzs1w2zhymnw01k";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ elfutils ];
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://sourceware.org/dwz/";
|
|
|
|
description = "DWARF optimization and duplicate removal tool";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dwz";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ jbcrail ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|