nixpkgs/pkgs/development/tools/misc/strace/default.nix
2016-08-03 11:09:43 +02:00

24 lines
618 B
Nix

{ stdenv, fetchurl, perl, libunwind }:
stdenv.mkDerivation rec {
name = "strace-${version}";
version = "4.13";
src = fetchurl {
url = "mirror://sourceforge/strace/${name}.tar.xz";
sha256 = "d48f732576c91ece36a5843d63f9be054c40ef59f1e4773986042636861625d7";
};
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 globin ];
};
}