Merge pull request #48818 from jokogr/u/lxd-3.0.2

lxd: 3.0.0 -> 3.0.2

authored by Jörg Thalheim and committed by GitHub 0a9bfd69 9de8d713

+57 -4
+27
pkgs/development/libraries/dqlite/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libuv, sqlite-replication }: 2 + 3 + with stdenv.lib; 4 + 5 + stdenv.mkDerivation rec { 6 + name = "dqlite-${version}"; 7 + version = "0.2.4"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "CanonicalLtd"; 11 + repo = "dqlite"; 12 + rev = "v${version}"; 13 + sha256 = "03dikhjppraagyvjx4zbp7f5jfg74jivighxkwrbzrcy0g8pmcvd"; 14 + }; 15 + 16 + nativeBuildInputs = [ autoreconfHook pkgconfig ]; 17 + 18 + buildInputs = [ libuv sqlite-replication ]; 19 + 20 + meta = { 21 + description = "Expose a SQLite database over the network and replicate it across a cluster of peers"; 22 + homepage = https://github.com/CanonicalLtd/dqlite/; 23 + license = licenses.asl20; 24 + maintainers = with maintainers; [ joko ]; 25 + platforms = platforms.unix; 26 + }; 27 + }
+7 -4
pkgs/tools/admin/lxd/default.nix
··· 1 { stdenv, pkgconfig, lxc, buildGoPackage, fetchurl 2 , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq 3 - , squashfsTools, iproute, iptables, ebtables 4 }: 5 6 buildGoPackage rec { 7 - name = "lxd-3.0.0"; 8 9 goPackagePath = "github.com/lxc/lxd"; 10 11 src = fetchurl { 12 url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz"; 13 - sha256 = "0m5prdf9sk8k5bws1zva4n9ycggmy76wnjr6wb423066pszz24ww"; 14 }; 15 16 preBuild = '' ··· 21 rm -r dist 22 popd 23 ''; 24 25 postInstall = '' 26 # binaries from test/ ··· 32 ''; 33 34 nativeBuildInputs = [ pkgconfig makeWrapper ]; 35 - buildInputs = [ lxc acl ]; 36 37 meta = with stdenv.lib; { 38 description = "Daemon based on liblxc offering a REST API to manage containers";
··· 1 { stdenv, pkgconfig, lxc, buildGoPackage, fetchurl 2 , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq 3 + , squashfsTools, iproute, iptables, ebtables, libcap, dqlite 4 + , sqlite-replication 5 }: 6 7 buildGoPackage rec { 8 + name = "lxd-3.0.2"; 9 10 goPackagePath = "github.com/lxc/lxd"; 11 12 src = fetchurl { 13 url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz"; 14 + sha256 = "1ha8ijzblf15p0kcpgwshswz6s2rdd2b4qnzjw3l72ww620hr84j"; 15 }; 16 17 preBuild = '' ··· 22 rm -r dist 23 popd 24 ''; 25 + 26 + buildFlags = [ "-tags libsqlite3" ]; 27 28 postInstall = '' 29 # binaries from test/ ··· 35 ''; 36 37 nativeBuildInputs = [ pkgconfig makeWrapper ]; 38 + buildInputs = [ lxc acl libcap dqlite sqlite-replication ]; 39 40 meta = with stdenv.lib; { 41 description = "Daemon based on liblxc offering a REST API to manage containers";
+23
pkgs/top-level/all-packages.nix
··· 12310 12311 sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { }; 12312 12313 sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher { 12314 readline = null; 12315 ncurses = null;
··· 12310 12311 sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { }; 12312 12313 + sqlite-replication = sqlite.overrideAttrs (oldAttrs: rec { 12314 + name = "sqlite-${version}"; 12315 + version = "3.24.0+replication3"; 12316 + src = pkgs.fetchFromGitHub { 12317 + owner = "CanonicalLtd"; 12318 + repo = "sqlite"; 12319 + rev = "version-${version}"; 12320 + sha256 = "19557b7aick1pxk0gw013cf5jy42i7539qn1ziza8dzy16a6zs8b"; 12321 + }; 12322 + nativeBuildInputs = [ pkgs.tcl ]; 12323 + configureFlags = oldAttrs.configureFlags ++ [ 12324 + "--enable-replication" 12325 + "--disable-amalgamation" 12326 + "--disable-tcl" 12327 + ]; 12328 + preConfigure = '' 12329 + echo "D 2018-08-01T13:22:18" > manifest 12330 + echo -n "c94dbda1a570c1ab180e7694afd3cc7116268c06" > manifest.uuid 12331 + ''; 12332 + }); 12333 + 12334 + dqlite = callPackage ../development/libraries/dqlite { }; 12335 + 12336 sqlcipher = lowPrio (callPackage ../development/libraries/sqlcipher { 12337 readline = null; 12338 ncurses = null;