0fe1cd7bea
GitOrigin-RevId: c6c4a3d45ab200f17805d2d86a1ff1cc7ca2b186
39 lines
895 B
Nix
39 lines
895 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv
|
|
, raft-canonical, sqlite-replication }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dqlite";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "canonical";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0ghvwlgj5574kpgc53bfhqp4437xxvr05061wwxplpjxn37hy26d";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook file pkg-config ];
|
|
buildInputs = [
|
|
libuv
|
|
raft-canonical.dev
|
|
sqlite-replication
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# tests fail
|
|
doCheck = false;
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
meta = with lib; {
|
|
description = ''
|
|
Expose a SQLite database over the network and replicate it across a
|
|
cluster of peers
|
|
'';
|
|
homepage = "https://dqlite.io/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ joko wucke13 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|