2015-11-11 14:58:52 +01:00
|
|
|
{ stdenv, fetchurl, perl, libunwind }:
|
2004-08-04 12:12:26 +02:00
|
|
|
|
2010-01-20 11:55:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-07-04 12:13:26 +02:00
|
|
|
name = "strace-${version}";
|
|
|
|
version = "4.12";
|
2009-11-08 01:32:12 +01:00
|
|
|
|
2004-08-04 12:12:26 +02:00
|
|
|
src = fetchurl {
|
2011-06-15 15:28:04 +02:00
|
|
|
url = "mirror://sourceforge/strace/${name}.tar.xz";
|
2016-07-04 12:13:26 +02:00
|
|
|
sha256 = "51144b78cb9ba22211b95a5aafe0af3694c0d575b25975d80ca9dd4dfd7c1e59";
|
2010-01-20 11:55:30 +01:00
|
|
|
};
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ perl ];
|
2011-06-15 15:28:04 +02:00
|
|
|
|
2015-11-11 14:58:52 +01:00
|
|
|
buildInputs = [ libunwind ]; # support -k
|
|
|
|
|
2013-08-06 23:43:51 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-01-20 11:55:30 +01:00
|
|
|
homepage = http://strace.sourceforge.net/;
|
|
|
|
description = "A system call tracer for Linux";
|
2013-08-06 23:43:51 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
2015-12-27 20:55:44 +01:00
|
|
|
maintainers = with maintainers; [ mornfall jgeerds globin ];
|
2004-08-04 12:12:26 +02:00
|
|
|
};
|
|
|
|
}
|