dqlite: 0.2.6 -> 1.0.0

This commit is contained in:
wucke13 2019-10-01 22:50:07 +02:00
parent 7017e582ff
commit add2a79b3f

View File

@ -1,24 +1,36 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libuv, sqlite-replication }: { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file, libco-canonical
, libuv, raft-canonical, sqlite-replication }:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dqlite"; pname = "dqlite";
version = "0.2.6"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CanonicalLtd"; owner = "canonical";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "13l7na5858v2ah1vim6lafmzajgkymfi5rd6bk14cm4vcnxc40wb"; sha256 = "0670c1c84lcf5vl3h6mlff00fz2fnm766bzlk526sjjzysx3zjya";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook file pkgconfig ];
buildInputs = [ libco-canonical.dev libuv raft-canonical.dev
sqlite-replication ];
buildInputs = [ libuv sqlite-replication ]; preConfigure= ''
substituteInPlace configure --replace /usr/bin/ " "
'';
doCheck = true;
outputs = [ "dev" "out" ];
meta = { meta = {
description = "Expose a SQLite database over the network and replicate it across a cluster of peers"; description = ''
Expose a SQLite database over the network and replicate it across a
cluster of peers
'';
homepage = https://github.com/CanonicalLtd/dqlite/; homepage = https://github.com/CanonicalLtd/dqlite/;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ joko ]; maintainers = with maintainers; [ joko ];