kopia: 0.6.0 -> 0.6.2

This commit is contained in:
Bruno Bigras 2020-08-16 17:04:50 -04:00
parent 11af562a96
commit 6030e27940

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