surrealdb: 2.3.5 -> 2.3.7 (#425199)

This commit is contained in:
Yt 2025-07-14 19:47:51 -04:00 committed by GitHub
commit d85725671b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,22 +6,21 @@
openssl, openssl,
rocksdb, rocksdb,
testers, testers,
surrealdb,
protobuf, protobuf,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: {
pname = "surrealdb"; pname = "surrealdb";
version = "2.3.5"; version = "2.3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "surrealdb"; owner = "surrealdb";
repo = "surrealdb"; repo = "surrealdb";
tag = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-7Rv57D966TQFHbZKmtnt1XWuNOwD+r175iUVJiVho/0="; hash = "sha256-gZICuvgMOdwa39i+5ETUDuFfBtSiZuuFOYW5pHPkoms=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-JENp5g1as1RS9fdV5qepEAhE9/SJ8lbMiwyk3YDeu5k="; cargoHash = "sha256-KndVaz7o0kMtMvQf4NK0pNMaC518keWddmGkYtemeWg=";
# error: linker `aarch64-linux-gnu-gcc` not found # error: linker `aarch64-linux-gnu-gcc` not found
postPatch = '' postPatch = ''
@ -55,19 +54,19 @@ rustPlatform.buildRustPackage rec {
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = surrealdb; package = finalAttrs.finalPackage;
command = "surreal version"; command = "surreal version";
}; };
meta = with lib; { meta = {
description = "Scalable, distributed, collaborative, document-graph database, for the realtime web"; description = "Scalable, distributed, collaborative, document-graph database, for the realtime web";
homepage = "https://surrealdb.com/"; homepage = "https://surrealdb.com/";
mainProgram = "surreal"; mainProgram = "surreal";
license = licenses.bsl11; license = lib.licenses.bsl11;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
sikmir sikmir
happysalada happysalada
siriobalmelli siriobalmelli
]; ];
}; };
} })