nixpkgs/pkgs/development/libraries/dqlite/default.nix

39 lines
902 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libco-canonical
2019-10-01 20:50:07 +00:00
, libuv, raft-canonical, sqlite-replication }:
2018-10-21 09:04:34 +00:00
stdenv.mkDerivation rec {
pname = "dqlite";
2020-07-25 09:20:00 +00:00
version = "1.5.0";
2018-10-21 09:04:34 +00:00
src = fetchFromGitHub {
2019-10-01 20:50:07 +00:00
owner = "canonical";
repo = pname;
2018-10-21 09:04:34 +00:00
rev = "v${version}";
2020-07-25 09:20:00 +00:00
sha256 = "0h7ypigj1b6xbspzc35y89jkp84v8rqiv9qgkyqlqylr7mcw952a";
2018-10-21 09:04:34 +00:00
};
nativeBuildInputs = [ autoreconfHook file pkg-config ];
2020-04-27 07:14:48 +00:00
buildInputs = [
libco-canonical.dev
libuv
raft-canonical.dev
sqlite-replication
];
2020-06-14 11:04:53 +00:00
# tests fail
2020-04-27 07:14:48 +00:00
doCheck = false;
2019-10-01 20:50:07 +00:00
outputs = [ "dev" "out" ];
2018-10-21 09:04:34 +00:00
meta = with lib; {
2019-10-01 20:50:07 +00:00
description = ''
Expose a SQLite database over the network and replicate it across a
cluster of peers
'';
2020-07-25 09:20:00 +00:00
homepage = "https://dqlite.io/";
2018-10-21 09:04:34 +00:00
license = licenses.asl20;
2020-01-04 00:48:32 +00:00
maintainers = with maintainers; [ joko wucke13 ];
platforms = platforms.linux;
2018-10-21 09:04:34 +00:00
};
}