lxd: 3.13 -> 3.18

+ also added myself to maintainer list
This commit is contained in:
wucke13 2019-09-29 14:02:49 +02:00
parent add2a79b3f
commit 3e6b5c6709

View File

@ -1,7 +1,7 @@
{ stdenv, pkgconfig, lxc, buildGoPackage, fetchurl { stdenv, pkgconfig, lxc, buildGoPackage, fetchurl
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
, squashfsTools, iproute, iptables, ebtables, libcap, dqlite , squashfsTools, iproute, iptables, ebtables, libcap, libco-canonical, dqlite
, sqlite-replication , raft-canonical, sqlite-replication
, writeShellScriptBin, apparmor-profiles, apparmor-parser , writeShellScriptBin, apparmor-profiles, apparmor-parser
, criu , criu
, bash , bash
@ -9,21 +9,20 @@
buildGoPackage rec { buildGoPackage rec {
pname = "lxd"; pname = "lxd";
version = "3.13"; version = "3.18";
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 = "1kasnzd8hw9biyx8avbjmpfax1pdbp9g543g8hs6xpksmk93hl82"; sha256 = "1p8g2gbwgn3kln5rxddpc2fxk8bvf026wjiqip2b0vvpi7h3955h";
}; };
preBuild = '' preBuild = ''
# unpack vendor # unpack vendor
pushd go/src/github.com/lxc/lxd pushd go/src/github.com/lxc/lxd
rm dist/src/github.com/lxc/lxd rm _dist/src/github.com/lxc/lxd
cp -r dist/src/* ../../.. cp -r _dist/src/* ../../..
rm -r dist
popd popd
''; '';
@ -45,13 +44,14 @@ buildGoPackage rec {
''; '';
nativeBuildInputs = [ pkgconfig makeWrapper ]; nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ lxc acl libcap dqlite sqlite-replication ]; buildInputs = [ lxc acl libcap libco-canonical.dev dqlite.dev
raft-canonical.dev sqlite-replication ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Daemon based on liblxc offering a REST API to manage containers"; description = "Daemon based on liblxc offering a REST API to manage containers";
homepage = https://linuxcontainers.org/lxd/; homepage = https://linuxcontainers.org/lxd/;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fpletz ]; maintainers = with maintainers; [ fpletz wucke13 ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }