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