2015-11-11 13:58:52 +00:00
|
|
|
{ stdenv, fetchurl, perl, libunwind }:
|
2004-08-04 11:12:26 +01:00
|
|
|
|
2010-01-20 10:55:30 +00:00
|
|
|
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";
|
2009-11-08 00:32:12 +00:00
|
|
|
|
2004-08-04 11:12:26 +01:00
|
|
|
src = fetchurl {
|
2011-06-15 14:28:04 +01:00
|
|
|
url = "mirror://sourceforge/strace/${name}.tar.xz";
|
2017-11-18 15:41:54 +00:00
|
|
|
sha256 = "08y5b07vb8jc7ak5xc3x2kx1ly6xiwv1gnppcqjs81kks66i9wsv";
|
2010-01-20 10:55:30 +00:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ perl ];
|
2011-06-15 14:28:04 +01:00
|
|
|
|
2015-11-11 13:58:52 +00:00
|
|
|
buildInputs = [ libunwind ]; # support -k
|
|
|
|
|
2013-08-06 22:43:51 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-01-20 10:55:30 +00:00
|
|
|
homepage = http://strace.sourceforge.net/;
|
|
|
|
description = "A system call tracer for Linux";
|
2013-08-06 22:43:51 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
2018-01-17 05:13:23 +00:00
|
|
|
maintainers = with maintainers; [ jgeerds globin ];
|
2004-08-04 11:12:26 +01:00
|
|
|
};
|
|
|
|
}
|