23 lines
606 B
Nix
23 lines
606 B
Nix
{ stdenv, fetchurl, perl, libunwind }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "strace-${version}";
|
|
version = "4.18";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/strace/${name}.tar.xz";
|
|
sha256 = "026agy9nq238nx3ynhmi8h3vx96yra4xacfsm2ybs9k23ry8ibc9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|