forked from mirrors/nixpkgs
1e6097f00a
I think it's not worth making such a small library optional as in the PR.
23 lines
573 B
Nix
23 lines
573 B
Nix
{ stdenv, fetchurl, perl, libunwind }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "strace-4.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/strace/${name}.tar.xz";
|
|
sha256 = "1qhfwijxvblwdvvm70f8bhzs4fpbzqmwwbkfp636brzrds30s676";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|