mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
lxd: 3.13 -> 3.18
+ also added myself to maintainer list
This commit is contained in:
parent
add2a79b3f
commit
3e6b5c6709
@ -1,7 +1,7 @@
|
||||
{ stdenv, pkgconfig, lxc, buildGoPackage, fetchurl
|
||||
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
|
||||
, squashfsTools, iproute, iptables, ebtables, libcap, dqlite
|
||||
, sqlite-replication
|
||||
, squashfsTools, iproute, iptables, ebtables, libcap, libco-canonical, dqlite
|
||||
, raft-canonical, sqlite-replication
|
||||
, writeShellScriptBin, apparmor-profiles, apparmor-parser
|
||||
, criu
|
||||
, bash
|
||||
@ -9,21 +9,20 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "lxd";
|
||||
version = "3.13";
|
||||
version = "3.18";
|
||||
|
||||
goPackagePath = "github.com/lxc/lxd";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lxc/lxd/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1kasnzd8hw9biyx8avbjmpfax1pdbp9g543g8hs6xpksmk93hl82";
|
||||
sha256 = "1p8g2gbwgn3kln5rxddpc2fxk8bvf026wjiqip2b0vvpi7h3955h";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
# unpack vendor
|
||||
pushd go/src/github.com/lxc/lxd
|
||||
rm dist/src/github.com/lxc/lxd
|
||||
cp -r dist/src/* ../../..
|
||||
rm -r dist
|
||||
rm _dist/src/github.com/lxc/lxd
|
||||
cp -r _dist/src/* ../../..
|
||||
popd
|
||||
'';
|
||||
|
||||
@ -45,13 +44,14 @@ buildGoPackage rec {
|
||||
'';
|
||||
|
||||
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; {
|
||||
description = "Daemon based on liblxc offering a REST API to manage containers";
|
||||
homepage = https://linuxcontainers.org/lxd/;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
maintainers = with maintainers; [ fpletz wucke13 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user