forked from mirrors/nixpkgs
25 lines
633 B
Nix
25 lines
633 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "timescaledb-tune";
|
|
version = "0.14.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timescale";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-vbFfqGWYpw0ppon/0oQMRixQStk+YSi/QFMi0AQoUpQ=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-n2jrg9FiR/gSrbds/QVV8Duf7BTEs36yYi4F3Ve+d0E=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|