lxd: 3.11 -> 3.12 (#59034)

No need to patch go-dqlite, included.
This commit is contained in:
Will Dietz 2019-04-06 05:18:59 -05:00 committed by Timo Kaufmann
parent cd9e67a860
commit 1889be45ce

View File

@ -8,24 +8,15 @@
buildGoPackage rec {
pname = "lxd";
version = "3.11";
version = "3.12";
goPackagePath = "github.com/lxc/lxd";
src = fetchurl {
url = "https://github.com/lxc/lxd/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "0xxzrwhyzzp23arj57vjs1yh91gy3r4wpd5qy9ksifzd390clf2x";
sha256 = "0m2cq41mz5209csr07gsnmslqvqdxk2p1l2saa23ddnaybqnjy16";
};
patches = [
(fetchpatch {
url = https://github.com/CanonicalLtd/go-dqlite/commit/88a96df66e3e3bdc290fd4a0d41615d284d2c92c.patch;
sha256 = "0z6r4shh1rlf0in9xk1gi6ms2kcvplc3878106d2zzzfz7ad83a4";
extraPrefix = "dist/src/github.com/CanonicalLtd/go-dqlite/";
stripLen = 1;
})
];
preBuild = ''
# unpack vendor
pushd go/src/github.com/lxc/lxd