Skip to content

Commit

Permalink
Merge pull request #213406 from r-ryantm/auto-update/raft-canonical
Browse files Browse the repository at this point in the history
raft-canonical: 0.16.0 -> 0.17.1
  • Loading branch information
NickCao authored Feb 1, 2023
2 parents a2470e3 + 9a8dd44 commit 585af06
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions pkgs/development/libraries/dqlite/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
Expand All @@ -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
Expand Down
10 changes: 7 additions & 3 deletions pkgs/development/libraries/raft-canonical/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
Expand All @@ -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
Expand Down

0 comments on commit 585af06

Please sign in to comment.