sqld: 0.17.2 -> 0.24.18

This commit is contained in:
David Flanagan 2024-08-23 23:43:18 +01:00 committed by Alyssa Ross
parent c4f90a2c2f
commit f2a252bf03
2 changed files with 4097 additions and 1700 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +1,47 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, protobuf
, openssl
, sqlite
, zstd
, stdenv
, darwin
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
protobuf,
openssl,
sqlite,
zstd,
stdenv,
darwin,
cmake,
}:
rustPlatform.buildRustPackage rec {
pname = "sqld";
version = "0.17.2";
version = "0.24.18";
src = fetchFromGitHub {
owner = "libsql";
repo = "sqld";
rev = "v${version}";
hash = "sha256-KoEscrzkFJnxxJKL/2r4cY0oLpKdQMjFR3daryzrVKQ=";
owner = "tursodatabase";
repo = "libsql";
rev = "libsql-server-v${version}";
hash = "sha256-/0Sk55GBjUk/FeIoq/hGVaNGB0EM8CxygAXZ+ufvWKg=";
};
cargoBuildFlags = [
"--bin"
"sqld"
];
cargoHash = "";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libsqlite3-sys-0.26.0" = "sha256-JzSGpqYtkIq0mVYD0kERIB6rmZUttqkCGne+M4vqTJU=";
"octopod-0.1.0" = "sha256-V16fOlIp9BCpyzgh1Aei3Mra/y15v8dQFA8tHdOwZm4=";
"console-api-0.5.0" = "sha256-MfaxtzOqyblk6aTMqJGRP+123aK0Kq7ODNp/3lehkpQ=";
"hyper-rustls-0.24.1" = "sha256-dYN42bnbY+4+etmimrnoyzmrKvCZ05fYr1qLQFvzRTk=";
"rheaper-0.2.0" = "sha256-u5z6J1nmUbIQjDDqqdkT0axNBOvwbFBYghYW/r1rDHc=";
"s3s-0.10.1-dev" = "sha256-y4DZnRsQzRNsCIp6vrppZkfXSP50LCHWYrKRoIHYPik=";
};
};
nativeBuildInputs = [
cmake
pkg-config
protobuf
rustPlatform.bindgenHook
@ -39,9 +51,7 @@ rustPlatform.buildRustPackage rec {
openssl
sqlite
zstd
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
env.ZSTD_SYS_USE_PKG_CONFIG = true;
@ -50,7 +60,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "LibSQL with extended capabilities like HTTP protocol, replication, and more";
homepage = "https://github.com/libsql/sqld";
homepage = "https://github.com/tursodatabase/libsql";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dit7ya ];
};