2018-11-11 11:15:06 +00:00
|
|
|
{stdenv, fetchFromGitHub}:
|
2018-10-01 16:20:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "uftrace-${version}";
|
2019-07-20 21:58:38 +01:00
|
|
|
version = "0.9.3";
|
2018-10-01 16:20:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "namhyung";
|
|
|
|
repo = "uftrace";
|
2018-11-11 11:15:06 +00:00
|
|
|
rev = "v${version}";
|
2019-07-20 21:58:38 +01:00
|
|
|
sha256 = "0m5f4azm2gdl0li7dfq00ys07j8r2lfjkbb4rx5l7q0kj67ldr7s";
|
2018-10-01 16:20:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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];
|
|
|
|
};
|
|
|
|
}
|