nixpkgs/pkgs/development/tools/uftrace/default.nix

26 lines
594 B
Nix
Raw Normal View History

2018-11-11 12:15:06 +01:00
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
name = "uftrace-${version}";
version = "0.9.3";
src = fetchFromGitHub {
owner = "namhyung";
repo = "uftrace";
2018-11-11 12:15:06 +01:00
rev = "v${version}";
sha256 = "0m5f4azm2gdl0li7dfq00ys07j8r2lfjkbb4rx5l7q0kj67ldr7s";
};
postUnpack = ''
patchShebangs .
'';
meta = {
description = "Function (graph) tracer for user-space";
homepage = https://github.com/namhyung/uftrace;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [stdenv.lib.maintainers.nthorne];
};
}