nixpkgs/pkgs/development/libraries/dqlite/default.nix
Adam Stephens ac18c4d1e9
treewide: remove lxc team from lxd packages and modules
LXD is not under the LXC project any longer
2024-08-10 13:23:38 -04:00

44 lines
905 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv
, raft-canonical, sqlite, lxd-lts }:
stdenv.mkDerivation rec {
pname = "dqlite";
version = "1.16.7";
src = fetchFromGitHub {
owner = "canonical";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-XQvJO4sFKRKDVdtoXP2Ue80otDC0Ry6EB1Z0shetuhw=";
};
nativeBuildInputs = [ autoreconfHook file pkg-config ];
buildInputs = [
libuv
raft-canonical.dev
sqlite
];
enableParallelBuilding = true;
# tests fail
doCheck = false;
outputs = [ "dev" "out" ];
passthru.tests = {
inherit lxd-lts;
};
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 = [ ];
platforms = platforms.linux;
};
}