nixpkgs/pkgs/tools/misc/pg_flame/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
612 B
Nix
Raw Normal View History

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;
maintainers = with maintainers; [ Br1ght0ne ];
2023-11-27 01:17:53 +00:00
mainProgram = "pg_flame";
2019-11-11 15:37:59 +00:00
};
}