2018-11-11 12:15:06 +01:00
|
|
|
{stdenv, fetchFromGitHub}:
|
2018-10-01 17:20:25 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "uftrace-${version}";
|
2019-01-22 09:09:58 +01:00
|
|
|
version = "0.9.2";
|
2018-10-01 17:20:25 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "namhyung";
|
|
|
|
repo = "uftrace";
|
2018-11-11 12:15:06 +01:00
|
|
|
rev = "v${version}";
|
2019-01-22 09:09:58 +01:00
|
|
|
sha256 = "0s7yfnf7kcqlfw3zzv4y8akkd12f8di69c4sranympnl7z5srfam";
|
2018-10-01 17:20:25 +02: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];
|
|
|
|
};
|
|
|
|
}
|