2018-02-27 06:39:15 +00:00
|
|
|
{ stdenv, fetchurl, elfutils, libunwind }:
|
2007-11-03 08:19:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-09 11:17:40 +01:00
|
|
|
name = "ltrace-0.7.3";
|
2010-07-29 19:55:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-21 22:52:24 +01:00
|
|
|
url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3.orig.tar.bz2;
|
2014-04-09 11:17:40 +01:00
|
|
|
sha256 = "00wmbdghqbz6x95m1mcdd3wd46l6hgcr4wggdp049dbifh3qqvqf";
|
2010-07-29 19:55:16 +01:00
|
|
|
};
|
|
|
|
|
2018-02-27 06:39:15 +00:00
|
|
|
buildInputs = [ elfutils libunwind ];
|
2010-07-29 19:55:16 +01:00
|
|
|
|
2018-05-02 19:24:27 +01:00
|
|
|
prePatch = let
|
|
|
|
debian = fetchurl {
|
|
|
|
url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz;
|
|
|
|
sha256 = "0xc4pfd8qw53crvdxr29iwl8na53zmknca082kziwpvlzsick4kp";
|
|
|
|
};
|
|
|
|
in ''
|
|
|
|
tar xf '${debian}'
|
|
|
|
patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')"
|
2010-07-29 19:55:16 +01:00
|
|
|
'';
|
|
|
|
|
2018-02-27 06:39:15 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-29 19:55:16 +01:00
|
|
|
description = "Library call tracer";
|
2018-02-27 06:39:15 +00:00
|
|
|
homepage = https://www.ltrace.org/;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-07-29 19:55:16 +01:00
|
|
|
};
|
2007-11-03 08:19:00 +00:00
|
|
|
}
|