at 23.05-pre 39 lines 887 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libuv 2, raft-canonical, sqlite-replication }: 3 4stdenv.mkDerivation rec { 5 pname = "dqlite"; 6 version = "1.9.0"; 7 8 src = fetchFromGitHub { 9 owner = "canonical"; 10 repo = pname; 11 rev = "v${version}"; 12 sha256 = "0zalsvr0vy7632nhm96a29lrfy18iqsmbxpyz2lvq80mrjlbrzsn"; 13 }; 14 15 nativeBuildInputs = [ autoreconfHook file pkg-config ]; 16 buildInputs = [ 17 libuv 18 raft-canonical.dev 19 sqlite-replication 20 ]; 21 22 enableParallelBuilding = true; 23 24 # tests fail 25 doCheck = false; 26 27 outputs = [ "dev" "out" ]; 28 29 meta = with lib; { 30 description = '' 31 Expose a SQLite database over the network and replicate it across a 32 cluster of peers 33 ''; 34 homepage = "https://dqlite.io/"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ joko ]; 37 platforms = platforms.linux; 38 }; 39}