nixpkgs/pkgs/development/tools/misc/ltrace/default.nix

25 lines
580 B
Nix
Raw Normal View History

2018-02-27 06:39:15 +00:00
{ stdenv, fetchurl, elfutils, libunwind }:
stdenv.mkDerivation rec {
2014-04-09 11:17:40 +01:00
name = "ltrace-0.7.3";
src = fetchurl {
url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3.orig.tar.bz2;
2014-04-09 11:17:40 +01:00
sha256 = "00wmbdghqbz6x95m1mcdd3wd46l6hgcr4wggdp049dbifh3qqvqf";
};
2018-02-27 06:39:15 +00:00
buildInputs = [ elfutils libunwind ];
preConfigure =
''
configureFlags="--disable-werror"
makeFlagsArray=(INSTALL="install -c")
'';
2018-02-27 06:39:15 +00:00
meta = with stdenv.lib; {
description = "Library call tracer";
2018-02-27 06:39:15 +00:00
homepage = https://www.ltrace.org/;
platforms = stdenv.lib.platforms.linux;
};
}