diff --git a/pkgs/by-name/su/surrealdb/package.nix b/pkgs/by-name/su/surrealdb/package.nix index f2c7373977a6..affd7a93ed0a 100644 --- a/pkgs/by-name/su/surrealdb/package.nix +++ b/pkgs/by-name/su/surrealdb/package.nix @@ -6,21 +6,20 @@ openssl, rocksdb, testers, - surrealdb, protobuf, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "surrealdb"; - version = "2.3.2"; + version = "2.3.10"; src = fetchFromGitHub { owner = "surrealdb"; repo = "surrealdb"; - tag = "v${version}"; - hash = "sha256-D7eujFJiFHmWlEoVkMkUSIdJt5fx+jTTqDwZs0JJw4o="; + tag = "v${finalAttrs.version}"; + hash = "sha256-0j1AzdSbeIyyHtK7zFL1JWDat8cry0z+VD5toCX0RmY="; }; - cargoHash = "sha256-dXLJKwwNIv4QcbROJyWB9oGBqh6bztz37tXMzc5jYUM="; + cargoHash = "sha256-ep04Nt3pIQVnFPuauzuk0YMQGMJOqlT0rWFOEmBVkPY="; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' @@ -54,19 +53,19 @@ rustPlatform.buildRustPackage rec { __darwinAllowLocalNetworking = true; passthru.tests.version = testers.testVersion { - package = surrealdb; + package = finalAttrs.finalPackage; command = "surreal version"; }; - meta = with lib; { + meta = { description = "Scalable, distributed, collaborative, document-graph database, for the realtime web"; homepage = "https://surrealdb.com/"; mainProgram = "surreal"; - license = licenses.bsl11; - maintainers = with maintainers; [ + license = lib.licenses.bsl11; + maintainers = with lib.maintainers; [ sikmir happysalada siriobalmelli ]; }; -} +})