nixpkgs/pkgs/development/tools/database/timescaledb-tune/default.nix

23 lines
605 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-03-25 21:22:00 +00:00
2020-08-20 09:20:00 +00:00
buildGoModule rec {
pname = "timescaledb-tune";
2021-03-10 02:20:36 +00:00
version = "0.11.0";
2019-03-25 21:22:00 +00:00
src = fetchFromGitHub {
owner = "timescale";
2020-08-20 09:20:00 +00:00
repo = pname;
rev = "v${version}";
2021-03-10 02:20:36 +00:00
sha256 = "sha256-orCnw+NM9jTrg0oeHg0CQvIXzbSkeCwwDUI1t/+k31o=";
2019-03-25 21:22:00 +00:00
};
2021-03-10 02:20:36 +00:00
vendorSha256 = "sha256-n2jrg9FiR/gSrbds/QVV8Duf7BTEs36yYi4F3Ve+d0E=";
2020-08-20 09:20:00 +00:00
meta = with lib; {
2019-03-25 21:22:00 +00:00
description = "A tool for tuning your TimescaleDB for better performance";
homepage = "https://github.com/timescale/timescaledb-tune";
2019-03-25 21:22:00 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ marsam ];
};
}