summary refs log tree commit diff
path: root/pkgs/development/libraries/dqlite/default.nix
blob: 8cc7a0bba62e3dde0874112e73c7c53be28a0abe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libuv, sqlite-replication }:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "dqlite-${version}";
  version = "0.2.4";

  src = fetchFromGitHub {
    owner = "CanonicalLtd";
    repo = "dqlite";
    rev = "v${version}";
    sha256 = "03dikhjppraagyvjx4zbp7f5jfg74jivighxkwrbzrcy0g8pmcvd";
  };

  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;
  };
}