nixpkgs/pkgs/tools/misc/pg_flame/default.nix
2019-11-13 00:24:33 -08:00

23 lines
585 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pg_flame";
version = "1.1";
src = fetchFromGitHub {
owner = "mgartner";
repo = pname;
rev = "v${version}";
sha256 = "13r35n4sy9s4343l3vc896av629wqr7m225ih2bbrm8qq70fwhwv";
};
modSha256 = "0j7qpvji546z0cfjijdd66l0vsl0jmny6i1n9fsjqjgjpwg26naq";
meta = with lib; {
description = "Flamegraph generator for Postgres EXPLAIN ANALYZE output";
homepage = "https://github.com/mgartner/pg_flame";
license = licenses.asl20;
maintainers = with maintainers; [ filalex77 ];
};
}