Merge pull request #95620 from bbigras/kopia

kopia: 0.6.0 -> 0.6.2
This commit is contained in:
Daniël de Kok 2020-08-17 07:53:47 +02:00 committed by GitHub
commit 0d72e01d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "kopia";
version = "0.6.0";
version = "0.6.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0jxl2zq3s3czz52ndq7zbj8liij0519745pbcqaj42x851c1p6mj";
sha256 = "1wz4sqjcih1m4bjxxdrsggai931q72zz8ikf2rwkp4alz12wr355";
};
vendorSha256 = "1npxr7gp59xv38zdx1diilfxij6lb0cmvsnzvjx6n8g0326gf2ii";
@ -17,6 +17,12 @@ buildGoModule rec {
subPackages = [ "." ];
buildFlagsArray = ''
-ldflags=
-X github.com/kopia/kopia/repo.BuildVersion=${version}
-X github.com/kopia/kopia/repo.BuildInfo=${src.rev}
'';
postConfigure = ''
# make 'vendor' writable
cp -L -r vendor tmp-vendor