3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/dqlite/default.nix

40 lines
895 B
Nix
Raw Normal View History

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