1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/misc/pg_flame/default.nix

23 lines
585 B
Nix
Raw Normal View History

2019-11-11 15:37:59 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pg_flame";
2020-01-15 10:10:50 +00:00
version = "1.2";
2019-11-11 15:37:59 +00:00
src = fetchFromGitHub {
owner = "mgartner";
repo = pname;
rev = "v${version}";
2020-01-15 10:10:50 +00:00
sha256 = "1a03vxqnga83mhjp7pkl0klhkyfaby7ncbwm45xbl8c7s6zwhnw2";
2019-11-11 15:37:59 +00:00
};
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 ];
};
}