Unverified Commit d8572567 authored by Yt's avatar Yt Committed by GitHub
Browse files

surrealdb: 2.3.5 -> 2.3.7 (#425199)

parents 1b1bbc52 c02c2816
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
@@ -6,22 +6,21 @@
  openssl,
  rocksdb,
  testers,
  surrealdb,
  protobuf,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "surrealdb";
  version = "2.3.5";
  version = "2.3.7";

  src = fetchFromGitHub {
    owner = "surrealdb";
    repo = "surrealdb";
    tag = "v${version}";
    hash = "sha256-7Rv57D966TQFHbZKmtnt1XWuNOwD+r175iUVJiVho/0=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-gZICuvgMOdwa39i+5ETUDuFfBtSiZuuFOYW5pHPkoms=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-JENp5g1as1RS9fdV5qepEAhE9/SJ8lbMiwyk3YDeu5k=";
  cargoHash = "sha256-KndVaz7o0kMtMvQf4NK0pNMaC518keWddmGkYtemeWg=";

  # error: linker `aarch64-linux-gnu-gcc` not found
  postPatch = ''
@@ -55,19 +54,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
    ];
  };
}
})