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

26 lines
594 B
Nix
Raw Normal View History

2018-11-11 11:15:06 +00:00
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
name = "uftrace-${version}";
2018-11-11 11:15:06 +00:00
version = "0.9.1";
src = fetchFromGitHub {
owner = "namhyung";
repo = "uftrace";
2018-11-11 11:15:06 +00:00
rev = "v${version}";
sha256 = "1jb4dp6crvfzxzmi5iflc7p13b7p2v1djyj6smbf9ns4wr515y6b";
};
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];
};
}