mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
24 lines
612 B
Nix
24 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";
|
|
};
|
|
}
|