Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3a0d1543b4c4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7c0c96536b89
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 17, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    jluttine Jaakko Luttinen
    Copy the full SHA
    dd8f3cd View commit details
  2. Merge pull request #70876 from cko/flamegraph

    flamegraph: 2017-07-01 -> 2019-02-16
    c0bw3b authored Oct 17, 2019
    Copy the full SHA
    7c0c965 View commit details
Showing with 12 additions and 7 deletions.
  1. +12 −7 pkgs/development/tools/flamegraph/default.nix
19 changes: 12 additions & 7 deletions pkgs/development/tools/flamegraph/default.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
{ stdenv, fetchFromGitHub, perl }:

stdenv.mkDerivation {
name = "FlameGraph-2017-07-01";
stdenv.mkDerivation rec {
pname = "FlameGraph";
version = "2019-02-16";

src = fetchFromGitHub {
owner = "brendangregg";
repo = "FlameGraph";
rev = "a93d905911c07c96a73b35ddbcb5ddb2f39da4b6";
sha256 = "07z2ffnab41dz833wwgr875vjccqyh0238357g7ml1yg5445x2jy";
repo = pname;
rev = "1b1c6deede9c33c5134c920bdb7a44cc5528e9a7";
sha256 = "1flvkmv2gbb003d51myl7r0wyhyw1bk9p7v19xagb8xjj4ci947b";
};

buildInputs = [ perl ];

installPhase = ''
runHook preInstall
mkdir -p $out/bin
for x in $src/*.pl $src/*.awk $src/dev/*.pl $src/dev/*.d; do
cp $x $out/bin
done
runHook postInstall
'';

meta = with stdenv.lib; {
license = licenses.cddl;
homepage = http://www.brendangregg.com/flamegraphs.html;
license = with licenses; [ asl20 cddl gpl2Plus ];
homepage = "http://www.brendangregg.com/flamegraphs.html";
description = "Visualization for profiled code";
platforms = platforms.unix;
};