lxd: 3.0.0 -> 3.0.2
This commit is contained in:
parent
891277e6a9
commit
ab62fe9108
@ -1,16 +1,17 @@
|
|||||||
{ 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
|
, squashfsTools, iproute, iptables, ebtables, libcap, dqlite
|
||||||
|
, sqlite-replication
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "lxd-3.0.0";
|
name = "lxd-3.0.2";
|
||||||
|
|
||||||
goPackagePath = "github.com/lxc/lxd";
|
goPackagePath = "github.com/lxc/lxd";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz";
|
url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz";
|
||||||
sha256 = "0m5prdf9sk8k5bws1zva4n9ycggmy76wnjr6wb423066pszz24ww";
|
sha256 = "1ha8ijzblf15p0kcpgwshswz6s2rdd2b4qnzjw3l72ww620hr84j";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
@ -22,6 +23,8 @@ buildGoPackage rec {
|
|||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildFlags = [ "-tags libsqlite3" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# binaries from test/
|
# binaries from test/
|
||||||
rm $bin/bin/{deps,macaroon-identity}
|
rm $bin/bin/{deps,macaroon-identity}
|
||||||
@ -32,7 +35,7 @@ buildGoPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||||
buildInputs = [ lxc acl ];
|
buildInputs = [ lxc acl libcap dqlite 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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user