timescaledb-parallel-copy: 0.2.0 -> 0.3.0

This commit is contained in:
Mario Rodas 2020-08-20 04:20:00 -05:00
parent 54acf58040
commit 9b9d3c4739
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027
2 changed files with 12 additions and 37 deletions

@ -1,26 +1,22 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, 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;
buildGoModule rec {
pname = "timescaledb-parallel-copy";
version = "0.3.0";
src = fetchFromGitHub {
inherit owner repo;
rev = version;
sha256 = "1z9vf29vrxqs8imbisv681d02p4cfk3hlsrin6hhibxf1h0br9gd";
owner = "timescale";
repo = pname;
rev = "v${version}";
sha256 = "0r8c78l8vg7l24c3vzs2qr2prfjpagvdkp95fh9gyz76nvik29ba";
};
vendorSha256 = "03siay3hv1sgmmp7w4f9b0xb8c6bnbx0v4wy5grjl5k04zhnj76b";
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;
homepage = "https://github.com/timescale/timescaledb-parallel-copy";
license = licenses.asl20;
maintainers = with maintainers; [ thoughtpolice ];
};
}

@ -1,21 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/jmoiron/sqlx";
fetch = {
type = "git";
url = "https://github.com/jmoiron/sqlx";
rev = "82935fac6c1a317907c8f43ed3f7f85ea844a78b";
sha256 = "0cbscnss2ifc3qgmy97i0zbirrp4hix4jlcz853f4bg5n2zzgwh2";
};
}
{
goPackagePath = "github.com/lib/pq";
fetch = {
type = "git";
url = "https://github.com/lib/pq";
rev = "7aad666537ab32b76f0966145530335f1fed51fd";
sha256 = "12qczn5afbf6203wnbpay1kazzh20jg5qyakrph3j1r13n91nc1r";
};
}
]