nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{lib, stdenv, fetchFromGitHub}:
2
3stdenv.mkDerivation rec {
4 pname = "uftrace";
5 version = "0.13.1";
6
7 src = fetchFromGitHub {
8 owner = "namhyung";
9 repo = "uftrace";
10 rev = "v${version}";
11 sha256 = "sha256-hpEExyvazCH+lNTK0Ej0zbnWyX0gVLPjM9XfOuAueis=";
12 };
13
14 postUnpack = ''
15 patchShebangs .
16 '';
17
18 meta = {
19 description = "Function (graph) tracer for user-space";
20 homepage = "https://github.com/namhyung/uftrace";
21 license = lib.licenses.gpl2;
22 platforms = lib.platforms.linux;
23 maintainers = [lib.maintainers.nthorne];
24 };
25}