nixpkgs/pkgs/development/tools/misc/strace/default.nix
2017-04-09 21:48:25 +03:00

23 lines
606 B
Nix

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