nixpkgs/pkgs/development/tools/uftrace/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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];
};
}