summary refs log tree commit diff
path: root/pkgs/development/tools/database/timescaledb-parallel-copy/default.nix
blob: 166cda52a3d9bc6508256d897a76019b27d37f9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "timescaledb-parallel-copy";
  version = "0.2.0";

  owner  = "timescale";
  repo   = "timescaledb-parallel-copy";

  goPackagePath = with src; "github.com/${owner}/${repo}";
  goDeps = ./deps.nix;

  src = fetchFromGitHub {
    inherit owner repo;
    rev    = version;
    sha256 = "1z9vf29vrxqs8imbisv681d02p4cfk3hlsrin6hhibxf1h0br9gd";
  };

  meta = with stdenv.lib; {
    description = "Bulk, parallel insert of CSV records into PostgreSQL";
    homepage    = "https://github.com/timescale/timescaledb-parallel-copy";
    license     = licenses.asl20;
    platforms   = platforms.unix;
    maintainers = with maintainers; [ thoughtpolice ];
  };
}