2018-10-21 11:04:34 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libuv, sqlite-replication }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-12 16:33:31 +01:00
|
|
|
pname = "dqlite";
|
|
|
|
version = "0.2.6";
|
2018-10-21 11:04:34 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CanonicalLtd";
|
2019-03-12 16:33:31 +01:00
|
|
|
repo = pname;
|
2018-10-21 11:04:34 +02:00
|
|
|
rev = "v${version}";
|
2019-03-12 16:33:31 +01:00
|
|
|
sha256 = "13l7na5858v2ah1vim6lafmzajgkymfi5rd6bk14cm4vcnxc40wb";
|
2018-10-21 11:04:34 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libuv sqlite-replication ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Expose a SQLite database over the network and replicate it across a cluster of peers";
|
|
|
|
homepage = https://github.com/CanonicalLtd/dqlite/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ joko ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|