nixpkgs/pkgs/development/tools/misc/strace/default.nix

24 lines
597 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, libunwind }:
stdenv.mkDerivation rec {
2016-07-04 11:13:26 +01:00
name = "strace-${version}";
2017-11-18 15:41:54 +00:00
version = "4.20";
src = fetchurl {
url = "mirror://sourceforge/strace/${name}.tar.xz";
2017-11-18 15:41:54 +00:00
sha256 = "08y5b07vb8jc7ak5xc3x2kx1ly6xiwv1gnppcqjs81kks66i9wsv";
};
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; [ jgeerds globin ];
};
}