2018-08-07 15:17:18 -07:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-03-25 14:21:00 -07:00
|
|
|
name = "timescaledb-parallel-copy";
|
|
|
|
version = "0.2.0";
|
2018-08-07 15:17:18 -07:00
|
|
|
|
|
|
|
owner = "timescale";
|
|
|
|
repo = "timescaledb-parallel-copy";
|
|
|
|
|
|
|
|
goPackagePath = with src; "github.com/${owner}/${repo}";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit owner repo;
|
2019-03-25 14:21:00 -07:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1z9vf29vrxqs8imbisv681d02p4cfk3hlsrin6hhibxf1h0br9gd";
|
2018-08-07 15:17:18 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Bulk, parallel insert of CSV records into PostgreSQL";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/timescale/timescaledb-parallel-copy";
|
2018-08-07 15:17:18 -07:00
|
|
|
license = licenses.asl20;
|
2019-02-17 05:00:33 -08:00
|
|
|
platforms = platforms.unix;
|
2018-08-07 15:17:18 -07:00
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|