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 { buildGoPackage rec {
pname = "lxd"; pname = "lxd";
version = "3.11"; version = "3.12";
goPackagePath = "github.com/lxc/lxd"; goPackagePath = "github.com/lxc/lxd";
src = fetchurl { src = fetchurl {
url = "https://github.com/lxc/lxd/releases/download/${pname}-${version}/${pname}-${version}.tar.gz"; 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 = '' preBuild = ''
# unpack vendor # unpack vendor
pushd go/src/github.com/lxc/lxd pushd go/src/github.com/lxc/lxd