2018-10-21 11:04:34 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libuv, sqlite-replication }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dqlite-${version}";
|
2018-12-16 13:12:01 +01:00
|
|
|
version = "0.2.5";
|
2018-10-21 11:04:34 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CanonicalLtd";
|
|
|
|
repo = "dqlite";
|
|
|
|
rev = "v${version}";
|
2018-12-16 13:12:01 +01:00
|
|
|
sha256 = "0pv7nf4siijlcy5asrl8j1ib3viifk65yzqzckarm2mcl16y7fc3";
|
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;
|
|
|
|
};
|
|
|
|
}
|