504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
23 lines
612 B
Nix
23 lines
612 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pg_flame";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mgartner";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-glvIv9GHIbp6IZUvZo9fyvkJ6QR03nMlrAOpZ3HfA6g=";
|
|
};
|
|
|
|
vendorHash = "sha256-ReVaetR3zkLLLc3d0EQkBAyUrxwBn3iq8MZAGzkQfeY=";
|
|
|
|
meta = with lib; {
|
|
description = "Flamegraph generator for Postgres EXPLAIN ANALYZE output";
|
|
homepage = "https://github.com/mgartner/pg_flame";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
mainProgram = "pg_flame";
|
|
};
|
|
}
|