dqlite: refactor (#414919)

This commit is contained in:
Aleksana 2025-06-09 14:51:58 +08:00 committed by GitHub
commit 0b1cd15004
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,14 +11,14 @@
lxd-lts, lxd-lts,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "dqlite"; pname = "dqlite";
version = "1.18.1"; version = "1.18.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "canonical"; owner = "canonical";
repo = "dqlite"; repo = "dqlite";
tag = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-7ou077ozbpH21PcvEEcprr4UYJ/X398Ph9dh5C3YyBQ="; hash = "sha256-7ou077ozbpH21PcvEEcprr4UYJ/X398Ph9dh5C3YyBQ=";
}; };
@ -47,14 +47,14 @@ stdenv.mkDerivation rec {
inherit lxd-lts; inherit lxd-lts;
}; };
meta = with lib; { meta = {
description = '' description = ''
Expose a SQLite database over the network and replicate it across a Expose a SQLite database over the network and replicate it across a
cluster of peers cluster of peers
''; '';
homepage = "https://dqlite.io/"; homepage = "https://dqlite.io/";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = [ ]; maintainers = [ ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} })