nixpkgs/pkgs/development/tools/misc/ltrace/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

24 lines
541 B
Nix

{ stdenv, fetchurl, elfutils }:
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 ];
preConfigure =
''
configureFlags="--disable-werror"
makeFlagsArray=(INSTALL="install -c")
'';
meta = {
description = "Library call tracer";
homepage = http://www.ltrace.org/;
platforms = stdenv.lib.platforms.linux;
};
}