timescaledb-parallel-copy: init at 2018-05-14

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2018-08-07 17:17:18 -05:00
parent 32dcb6051a
commit 5ca1b19dab
3 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "timescaledb-parallel-copy-${version}";
version = "2018-05-14";
owner = "timescale";
repo = "timescaledb-parallel-copy";
goPackagePath = with src; "github.com/${owner}/${repo}";
goDeps = ./deps.nix;
src = fetchFromGitHub {
inherit owner repo;
rev = "20d3e8f8219329f2f4b0a5aa985f280dd04d10bb";
sha256 = "0waaccw991cnxaxjdxh9ksb94kiiyx1r7gif6pkd5k58js0kfvdn";
};
meta = with stdenv.lib; {
description = "Bulk, parallel insert of CSV records into PostgreSQL";
homepage = http://github.com/timescale/timescaledb-parallel-copy;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice ];
};
}

View file

@ -0,0 +1,21 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/jmoiron/sqlx";
fetch = {
type = "git";
url = "https://github.com/jmoiron/sqlx";
rev = "0dae4fefe7c0e190f7b5a78dac28a1c82cc8d849";
sha256 = "0r8fyj70n0v84byvagw8w8rzz532s94mjr72b9sx018j0b6xglmy";
};
}
{
goPackagePath = "github.com/lib/pq";
fetch = {
type = "git";
url = "https://github.com/lib/pq";
rev = "90697d60dd844d5ef6ff15135d0203f65d2f53b8";
sha256 = "0hb4bfsk8g5473yzbf3lzrb373xicakjznkf0v085xgimz991i9r";
};
}
]

View file

@ -13594,6 +13594,8 @@ with pkgs;
libmemcached = null; # Detection is broken upstream
};
timescaledb-parallel-copy = callPackage ../development/tools/database/timescaledb-parallel-copy { };
postgresql = postgresql_9_6;
inherit (callPackages ../servers/sql/postgresql { })