1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "timescaledb-parallel-copy";
5 version = "0.4.0";
6
7 src = fetchFromGitHub {
8 owner = "timescale";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-HxaGKJnLZjPPJXoccAx0XUsCrZiG09c40zeSbHYXm04=";
12 };
13
14 vendorSha256 = "sha256-muxtr80EjnRoHG/TCEQwrBwlnARsfqWoYlR0HavMe6U=";
15
16 meta = with lib; {
17 description = "Bulk, parallel insert of CSV records into PostgreSQL";
18 homepage = "https://github.com/timescale/timescaledb-parallel-copy";
19 license = licenses.asl20;
20 maintainers = with maintainers; [ thoughtpolice ];
21 };
22}