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

25 lines
608 B
Nix
Raw Normal View History

2019-11-11 16:37:59 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pg_flame";
2020-01-15 11:10:50 +01:00
version = "1.2";
2019-11-11 16:37:59 +01:00
src = fetchFromGitHub {
owner = "mgartner";
repo = pname;
rev = "v${version}";
2020-01-15 11:10:50 +01:00
sha256 = "1a03vxqnga83mhjp7pkl0klhkyfaby7ncbwm45xbl8c7s6zwhnw2";
2019-11-11 16:37:59 +01:00
};
vendorSha256 = "1rkx20winh66y2m7i7q13jpr83044i2d1pfd5p5l5kkpsix5mra5";
2019-11-11 16:37:59 +01:00
doCheck = false;
2019-11-11 16:37:59 +01: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 ];
2019-11-11 16:37:59 +01:00
};
}