Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "pg_flame"; 9 version = "1.2"; 10 11 src = fetchFromGitHub { 12 owner = "mgartner"; 13 repo = "pg_flame"; 14 rev = "v${version}"; 15 hash = "sha256-glvIv9GHIbp6IZUvZo9fyvkJ6QR03nMlrAOpZ3HfA6g="; 16 }; 17 18 vendorHash = "sha256-ReVaetR3zkLLLc3d0EQkBAyUrxwBn3iq8MZAGzkQfeY="; 19 20 meta = with lib; { 21 description = "Flamegraph generator for Postgres EXPLAIN ANALYZE output"; 22 homepage = "https://github.com/mgartner/pg_flame"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ Br1ght0ne ]; 25 mainProgram = "pg_flame"; 26 }; 27}