forked from mirrors/nixpkgs
timescaledb-tune: init at 0.5.0
This commit is contained in:
parent
7fe08bd2b5
commit
fbd3f57bf4
24
pkgs/development/tools/database/timescaledb-tune/default.nix
Normal file
24
pkgs/development/tools/database/timescaledb-tune/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "timescaledb-tune";
|
||||
version = "0.5.0";
|
||||
|
||||
goPackagePath = "github.com/timescale/timescaledb-tune";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timescale";
|
||||
repo = name;
|
||||
rev = version;
|
||||
sha256 = "1fs7ggpdik3qjvjmair1svni2sw9wz54716m2iwngv8x4s9b15nn";
|
||||
};
|
||||
|
||||
meta = with stdenv.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 ];
|
||||
};
|
||||
}
|
21
pkgs/development/tools/database/timescaledb-tune/deps.nix
generated
Normal file
21
pkgs/development/tools/database/timescaledb-tune/deps.nix
generated
Normal file
|
@ -0,0 +1,21 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/fatih/color";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/fatih/color";
|
||||
rev = "3f9d52f7176a6927daacff70a3e8d1dc2025c53e";
|
||||
sha256 = "165ww24x6ba47ji4j14mp3f006ksnmi53ws9280pgd2zcw91nbn8";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/pbnjay/memory";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pbnjay/memory";
|
||||
rev = "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510";
|
||||
sha256 = "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -14133,6 +14133,8 @@ in
|
|||
|
||||
timescaledb-parallel-copy = callPackage ../development/tools/database/timescaledb-parallel-copy { };
|
||||
|
||||
timescaledb-tune = callPackage ../development/tools/database/timescaledb-tune { };
|
||||
|
||||
inherit (import ../servers/sql/postgresql pkgs)
|
||||
postgresql_9_4
|
||||
postgresql_9_5
|
||||
|
|
Loading…
Reference in a new issue