nixpkgs/pkgs/development/tools/misc/strace/default.nix
Vladimír Čunát 1e6097f00a stace: add libunwind support (fixes #10515)
I think it's not worth making such a small library optional as in the PR.
2015-11-11 15:04:47 +01:00

23 lines
573 B
Nix

{ stdenv, fetchurl, perl, libunwind }:
stdenv.mkDerivation rec {
name = "strace-4.10";
src = fetchurl {
url = "mirror://sourceforge/strace/${name}.tar.xz";
sha256 = "1qhfwijxvblwdvvm70f8bhzs4fpbzqmwwbkfp636brzrds30s676";
};
nativeBuildInputs = [ perl ];
buildInputs = [ libunwind ]; # support -k
meta = with stdenv.lib; {
homepage = http://strace.sourceforge.net/;
description = "A system call tracer for Linux";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ mornfall jgeerds ];
};
}