git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #58368 from marsam/update-timescaledb

timescaledb: 1.0.0 -> 1.2.2, timescaledb-parallel-copy: 2018-05-14 -> 0.2.0, timescaledb-tune: init at 0.5.0

commite89fc19b97b3dc3f86e3aee38dd20f198d8f3e8c authorMario Rodas <marsam@users.noreply.github.com> dateWed 24 Apr 2019, 20:42 (8 years ago) parentdc1716ffbd3f57
6 files changed+60−13
pkgs/development/tools/database/timescaledb-parallel-copy/default.nix+4−4 pkgs/development/tools/database/timescaledb-parallel-copy/deps.nix+5−5 pkgs/development/tools/database/timescaledb-tune/default.nix+24 pkgs/development/tools/database/timescaledb-tune/deps.nix+21 pkgs/servers/sql/postgresql/ext/timescaledb.nix+4−4 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/database/timescaledb-parallel-copy/default.nix+4−4
@@ -1,8 +1,8 @@
11{ stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
4− name = "timescaledb-parallel-copy-${version}";
5− version = "2018-05-14";
4+ name = "timescaledb-parallel-copy";
5+ version = "0.2.0";
66
77 owner = "timescale";
88 repo = "timescaledb-parallel-copy";
@@ -12,8 +12,8 @@ buildGoPackage rec {
1212
1313 src = fetchFromGitHub {
1414 inherit owner repo;
15− rev = "20d3e8f8219329f2f4b0a5aa985f280dd04d10bb";
16− sha256 = "0waaccw991cnxaxjdxh9ksb94kiiyx1r7gif6pkd5k58js0kfvdn";
15+ rev = version;
16+ sha256 = "1z9vf29vrxqs8imbisv681d02p4cfk3hlsrin6hhibxf1h0br9gd";
1717 };
1818
1919 meta = with stdenv.lib; {
pkgs/development/tools/database/timescaledb-parallel-copy/deps.nix+5−5
@@ -1,12 +1,12 @@
1−# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
1+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
22[
33 {
44 goPackagePath = "github.com/jmoiron/sqlx";
55 fetch = {
66 type = "git";
77 url = "https://github.com/jmoiron/sqlx";
8− rev = "0dae4fefe7c0e190f7b5a78dac28a1c82cc8d849";
9− sha256 = "0r8fyj70n0v84byvagw8w8rzz532s94mjr72b9sx018j0b6xglmy";
8+ rev = "82935fac6c1a317907c8f43ed3f7f85ea844a78b";
9+ sha256 = "0cbscnss2ifc3qgmy97i0zbirrp4hix4jlcz853f4bg5n2zzgwh2";
1010 };
1111 }
1212 {
@@ -14,8 +14,8 @@
1414 fetch = {
1515 type = "git";
1616 url = "https://github.com/lib/pq";
17− rev = "90697d60dd844d5ef6ff15135d0203f65d2f53b8";
18− sha256 = "0hb4bfsk8g5473yzbf3lzrb373xicakjznkf0v085xgimz991i9r";
17+ rev = "7aad666537ab32b76f0966145530335f1fed51fd";
18+ sha256 = "12qczn5afbf6203wnbpay1kazzh20jg5qyakrph3j1r13n91nc1r";
1919 };
2020 }
2121]
pkgs/development/tools/database/timescaledb-tune/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "timescaledb-tune";
5+ version = "0.5.0";
6+
7+ goPackagePath = "github.com/timescale/timescaledb-tune";
8+
9+ goDeps = ./deps.nix;
10+
11+ src = fetchFromGitHub {
12+ owner = "timescale";
13+ repo = name;
14+ rev = version;
15+ sha256 = "1fs7ggpdik3qjvjmair1svni2sw9wz54716m2iwngv8x4s9b15nn";
16+ };
17+
18+ meta = with stdenv.lib; {
19+ description = "A tool for tuning your TimescaleDB for better performance";
20+ homepage = https://github.com/timescale/timescaledb-tune;
21+ license = licenses.asl20;
22+ maintainers = with maintainers; [ marsam ];
23+ };
24+}
pkgs/development/tools/database/timescaledb-tune/deps.nixnew file+21
@@ -0,0 +1,21 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
2+[
3+ {
4+ goPackagePath = "github.com/fatih/color";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/fatih/color";
8+ rev = "3f9d52f7176a6927daacff70a3e8d1dc2025c53e";
9+ sha256 = "165ww24x6ba47ji4j14mp3f006ksnmi53ws9280pgd2zcw91nbn8";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/pbnjay/memory";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/pbnjay/memory";
17+ rev = "974d429e7ae40c89e7dcd41cfcc22a0bfbe42510";
18+ sha256 = "0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq";
19+ };
20+ }
21+]
pkgs/servers/sql/postgresql/ext/timescaledb.nix+4−4
@@ -8,7 +8,7 @@
88
99stdenv.mkDerivation rec {
1010 name = "timescaledb-${version}";
11− version = "1.0.0";
11+ version = "1.2.2";
1212
1313 nativeBuildInputs = [ cmake ];
1414 buildInputs = [ postgresql openssl ];
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 owner = "timescale";
1818 repo = "timescaledb";
1919 rev = "refs/tags/${version}";
20− sha256 = "1359jc0dw8q3f0iipqfadzs8lvri9qa5w59ziz00x1d09ppw2q40";
20+ sha256 = "1fb1ab07jmgd1drinl25mbhwx966f75c7i7nh3ah0xf3cbk298xr";
2121 };
2222
2323 # Fix the install phase which tries to install into the pgsql extension dir,
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/extension\""
2929 done
3030
31− for x in src/CMakeLists.txt src/loader/CMakeLists.txt; do
31+ for x in src/CMakeLists.txt src/loader/CMakeLists.txt tsl/src/CMakeLists.txt; do
3232 substituteInPlace "$x" \
3333 --replace 'DESTINATION ''${PG_PKGLIBDIR}' "DESTINATION \"$out/lib\""
3434 done
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545 description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
4646 homepage = https://www.timescale.com/;
4747 maintainers = with maintainers; [ volth ];
48− platforms = platforms.linux;
48+ platforms = postgresql.meta.platforms;
4949 license = licenses.asl20;
5050 };
5151}
pkgs/top-level/all-packages.nix+2
@@ -14297,6 +14297,8 @@ in
1429714297
1429814298 timescaledb-parallel-copy = callPackage ../development/tools/database/timescaledb-parallel-copy { };
1429914299
14300+ timescaledb-tune = callPackage ../development/tools/database/timescaledb-tune { };
14301+
1430014302 inherit (import ../servers/sql/postgresql pkgs)
1430114303 postgresql_9_4
1430214304 postgresql_9_5