13 stdenv.mkDerivation rec {
14 pname = "raft-cowsql";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-aGw/ATu8Xdjfqa0qWg8Sld9PKCmQsMtZhuNBwagER7M=";
33 enableParallelBuilding = true;
36 # network tests either hang indefinitely, or fail outright
37 ./disable-net-tests.patch
39 # missing dir check is flaky
40 ./disable-missing-dir-test.patch
44 substituteInPlace configure --replace /usr/bin/ " "
55 inherit (incus) tests;
57 updateScript = gitUpdater {
63 description = "Asynchronous C implementation of the Raft consensus protocol";
64 homepage = "https://github.com/cowsql/raft";
65 license = licenses.lgpl3Only;
66 platforms = platforms.linux;
67 maintainers = teams.lxc.members;