46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
584 B
Nix
26 lines
584 B
Nix
{stdenv, fetchFromGitHub}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "uftrace";
|
|
version = "0.9.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "namhyung";
|
|
repo = "uftrace";
|
|
rev = "v${version}";
|
|
sha256 = "0m5f4azm2gdl0li7dfq00ys07j8r2lfjkbb4rx5l7q0kj67ldr7s";
|
|
};
|
|
|
|
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];
|
|
};
|
|
}
|