depot/third_party/nixpkgs/pkgs/tools/misc/pg_flame/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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