nixpkgs/pkgs/tools/misc/pg_flame/default.nix
2023-09-21 16:23:40 +02:00

22 lines
582 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 ];
};
}