nixpkgs/pkgs/development/tools/misc/ltrace/default.nix
2018-02-27 07:43:50 +01:00

25 lines
580 B
Nix

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