mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
69bc0b64ab
Dqlite and LXD haven't required this custom SQLite version since 2020 (it was last updated in 2019), and its GitHub repo no longer exists.
40 lines
863 B
Nix
40 lines
863 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv
|
|
, raft-canonical, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dqlite";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "canonical";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0zalsvr0vy7632nhm96a29lrfy18iqsmbxpyz2lvq80mrjlbrzsn";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook file pkg-config ];
|
|
buildInputs = [
|
|
libuv
|
|
raft-canonical.dev
|
|
sqlite
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# tests fail
|
|
doCheck = false;
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
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 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|