depot/third_party/nixpkgs/pkgs/development/tools/misc/dwz/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

24 lines
653 B
Nix

{ 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";
mainProgram = "dwz";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jbcrail ];
platforms = platforms.linux;
};
}