depot/third_party/nixpkgs/pkgs/development/libraries/dqlite/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

43 lines
934 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv
, raft-canonical, sqlite, lxd }:
stdenv.mkDerivation rec {
pname = "dqlite";
version = "1.16.0";
src = fetchFromGitHub {
owner = "canonical";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-8MPAyCqqjDpDHSyiZ1cvvgflaOLNzPGswZSsSjSffvw=";
};
nativeBuildInputs = [ autoreconfHook file pkg-config ];
buildInputs = [
libuv
raft-canonical.dev
sqlite
];
enableParallelBuilding = true;
# tests fail
doCheck = false;
outputs = [ "dev" "out" ];
passthru.tests = {
inherit lxd;
};
meta = with lib; {
description = ''
Expose a SQLite database over the network and replicate it across a
cluster of peers
'';
homepage = "https://dqlite.io/";
license = licenses.asl20;
maintainers = with maintainers; [ joko adamcstephens ];
platforms = platforms.linux;
};
}