3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/strace/default.nix

26 lines
691 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, libunwind }:
stdenv.mkDerivation rec {
2016-07-04 11:13:26 +01:00
name = "strace-${version}";
2018-02-17 20:33:23 +00:00
version = "4.21";
src = fetchurl {
url = "mirror://sourceforge/strace/${name}.tar.xz";
2018-02-17 20:33:23 +00:00
sha256 = "1dvrwi6v9j6b9j6852zzlc61hxgiciadi1xsl89wzbzqlkxnahbd";
};
nativeBuildInputs = [ perl ];
buildInputs = [ libunwind ]; # support -k
configureFlags = stdenv.lib.optional stdenv.hostPlatform.isAarch64 "--enable-mpers=check";
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 ];
};
}