2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "uftrace";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "namhyung";
|
|
|
|
repo = "uftrace";
|
|
|
|
rev = "v${version}";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-czVKliF9qvA9TG4KJKs2X0VDfJi4vHwbVeuLZViwpdg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Function (graph) tracer for user-space";
|
|
|
|
homepage = "https://github.com/namhyung/uftrace";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [lib.maintainers.nthorne];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|