81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
25 lines
726 B
Nix
25 lines
726 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "timescaledb-tune";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timescale";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-p1SU0wnB2XftuPMbm47EbJ2aZGV9amlk0y7FI0QOBkk=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-n2jrg9FiR/gSrbds/QVV8Duf7BTEs36yYi4F3Ve+d0E=";
|
|
|
|
# Temporary fix of bug: https://github.com/timescale/timescaledb-tune/issues/95
|
|
patches = [ ./fixMinMaxConn.diff ];
|
|
|
|
meta = with lib; {
|
|
description = "A tool for tuning your TimescaleDB for better performance";
|
|
homepage = "https://github.com/timescale/timescaledb-tune";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ marsam ];
|
|
};
|
|
}
|