at 24.11-pre 1.1 kB view raw
1#TODO@deliciouslytyped The tool seems to unnecessarily force mutable access for the debugedit `-l` feature 2{fetchgit, lib, stdenv, autoreconfHook, pkg-config, elfutils, help2man, util-linux}: 3stdenv.mkDerivation rec { 4 pname = "debugedit"; 5 version = "5.0"; 6 7 nativeBuildInputs = [ autoreconfHook pkg-config help2man ]; 8 buildInputs = [ elfutils ]; 9 nativeCheckInputs = [ util-linux ]; # Tests use `rev` 10 11 src = fetchgit { 12 url = "git://sourceware.org/git/debugedit.git"; 13 rev = "debugedit-${version}"; 14 sha256 = "VTZ7ybQT3DfKIfK0lH+JiehCJyJ+qpQ0bAn1/f+Pscs="; 15 }; 16 17 preBuild = '' 18 patchShebangs scripts/find-debuginfo.in 19 ''; 20 21 doCheck = true; 22 23 meta = with lib; { 24 description = "Provides programs and scripts for creating debuginfo and source file distributions, collect build-ids and rewrite source paths in DWARF data for debugging, tracing and profiling"; 25 homepage = "https://sourceware.org/debugedit/"; 26 license = licenses.gpl3Plus; 27 platforms = platforms.all; 28 maintainers = with maintainers; [ deliciouslytyped ]; 29 }; 30}