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}";
|
2023-09-21 15:23:40 +01:00
|
|
|
hash = "sha256-glvIv9GHIbp6IZUvZo9fyvkJ6QR03nMlrAOpZ3HfA6g=";
|
2019-11-11 15:37:59 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 15:23:40 +01:00
|
|
|
vendorHash = "sha256-ReVaetR3zkLLLc3d0EQkBAyUrxwBn3iq8MZAGzkQfeY=";
|
2019-11-11 15:37:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Flamegraph generator for Postgres EXPLAIN ANALYZE output";
|
|
|
|
homepage = "https://github.com/mgartner/pg_flame";
|
|
|
|
license = licenses.asl20;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "pg_flame";
|
2019-11-11 15:37:59 +00:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|