2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-08-07 23:17:18 +01:00
|
|
|
|
2020-08-20 10:20:00 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "timescaledb-parallel-copy";
|
2022-08-02 06:44:23 +01:00
|
|
|
version = "0.4.0";
|
2018-08-07 23:17:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-20 10:20:00 +01:00
|
|
|
owner = "timescale";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-08-02 06:44:23 +01:00
|
|
|
sha256 = "sha256-HxaGKJnLZjPPJXoccAx0XUsCrZiG09c40zeSbHYXm04=";
|
2018-08-07 23:17:18 +01:00
|
|
|
};
|
|
|
|
|
2022-08-02 06:44:23 +01:00
|
|
|
vendorSha256 = "sha256-muxtr80EjnRoHG/TCEQwrBwlnARsfqWoYlR0HavMe6U=";
|
2020-08-20 10:20:00 +01:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-08-07 23:17:18 +01:00
|
|
|
description = "Bulk, parallel insert of CSV records into PostgreSQL";
|
2020-08-20 10:20:00 +01:00
|
|
|
homepage = "https://github.com/timescale/timescaledb-parallel-copy";
|
|
|
|
license = licenses.asl20;
|
2018-08-07 23:17:18 +01:00
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|