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";
|
|
|
|
version = "0.3.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}";
|
|
|
|
sha256 = "0r8c78l8vg7l24c3vzs2qr2prfjpagvdkp95fh9gyz76nvik29ba";
|
2018-08-07 23:17:18 +01:00
|
|
|
};
|
|
|
|
|
2020-08-20 10:20:00 +01:00
|
|
|
vendorSha256 = "03siay3hv1sgmmp7w4f9b0xb8c6bnbx0v4wy5grjl5k04zhnj76b";
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|