diff options
author | Joseph Crail <jbcrail@gmail.com> | 2021-08-30 16:27:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 18:27:43 -0500 |
commit | db4b3ef15a3fed741820affdb35154b8af9c8b11 (patch) | |
tree | 4378a1ee2603b4a39d689b688c9eb31556940606 /pkgs/development/tools/misc/dwz | |
parent | e3a2429bc63a3fc124beb36f6876f8819bf39c10 (diff) |
dwz: init at 0.14 (#136078)
Diffstat (limited to 'pkgs/development/tools/misc/dwz')
-rw-r--r-- | pkgs/development/tools/misc/dwz/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/dwz/default.nix b/pkgs/development/tools/misc/dwz/default.nix new file mode 100644 index 0000000000000..0a13d4a68dd0f --- /dev/null +++ b/pkgs/development/tools/misc/dwz/default.nix @@ -0,0 +1,23 @@ +{ 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"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ jbcrail ]; + platforms = platforms.linux; + }; +} |