diff --git a/pkgs/development/libraries/dqlite/default.nix b/pkgs/development/libraries/dqlite/default.nix index 331fe93e90de..cb7b7466d053 100644 --- a/pkgs/development/libraries/dqlite/default.nix +++ b/pkgs/development/libraries/dqlite/default.nix @@ -1,15 +1,15 @@ { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv -, raft-canonical, sqlite }: +, raft-canonical, sqlite, lxd }: stdenv.mkDerivation rec { pname = "dqlite"; - version = "1.13.0"; + version = "1.14.0"; src = fetchFromGitHub { owner = "canonical"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-KVQa11gw/8h3Be+52V44W2M+fd7sB35emrS/aUEUGl0="; + hash = "sha256-x76f9Sw3BMgWSY7DLIqDjbggp/qVu8mJBtf4znTz9hA="; }; nativeBuildInputs = [ autoreconfHook file pkg-config ]; @@ -26,6 +26,10 @@ stdenv.mkDerivation rec { outputs = [ "dev" "out" ]; + passthru.tests = { + inherit lxd; + }; + meta = with lib; { description = '' Expose a SQLite database over the network and replicate it across a diff --git a/pkgs/development/libraries/raft-canonical/default.nix b/pkgs/development/libraries/raft-canonical/default.nix index 0fc885033e64..e2dd81b13877 100644 --- a/pkgs/development/libraries/raft-canonical/default.nix +++ b/pkgs/development/libraries/raft-canonical/default.nix @@ -1,14 +1,14 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv, lz4 }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv, lz4, lxd }: stdenv.mkDerivation rec { pname = "raft-canonical"; - version = "0.16.0"; + version = "0.17.1"; src = fetchFromGitHub { owner = "canonical"; repo = "raft"; rev = "refs/tags/v${version}"; - hash = "sha256-qDLAEhknY+BB83OC6tfi7w/ZY/K492J5ZglLNUoBwbc="; + hash = "sha256-P6IYl6xcsqXw1ilt6HYw757FL2syy1XePBVGbPAlz6Q="; }; nativeBuildInputs = [ autoreconfHook file pkg-config ]; @@ -32,6 +32,10 @@ stdenv.mkDerivation rec { outputs = [ "dev" "out" ]; + passthru.tests = { + inherit lxd; + }; + meta = with lib; { description = '' Fully asynchronous C implementation of the Raft consensus protocol