diff options
author | Yt <raphael@megzari.com> | 2024-03-18 23:23:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 23:23:23 +0000 |
commit | e6bf74e26a1292ca83a65a8bb27b2b22224dcb26 (patch) | |
tree | b3ac0431068fad38c73b0b1d022167310a988e52 /pkgs/servers/nosql | |
parent | 142d2b81d037fbb10f12b80af23a853a6d256ad6 (diff) | |
parent | 33f3c988220217dad6325f1945b25d516fcec7f1 (diff) |
Merge pull request #296379 from sikmir/surrealdb
surrealdb: 1.2.1 → 1.3.1
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r-- | pkgs/servers/nosql/surrealdb/default.nix | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/pkgs/servers/nosql/surrealdb/default.nix b/pkgs/servers/nosql/surrealdb/default.nix deleted file mode 100644 index ce1ed67d20464..0000000000000 --- a/pkgs/servers/nosql/surrealdb/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -, pkg-config -, openssl -, rocksdb -, testers -, surrealdb -, SystemConfiguration -, protobuf -}: - -rustPlatform.buildRustPackage rec { - pname = "surrealdb"; - version = "1.2.1"; - - src = fetchFromGitHub { - owner = "surrealdb"; - repo = "surrealdb"; - rev = "v${version}"; - hash = "sha256-ICQvAyBV+7cyHiwwiPEaoGT/W/pM4yiSpqByzkByRK4="; - }; - - cargoHash = "sha256-a9ZRr6U7mKCk2uaXJmCJMaCQxJ9adbRLMRUpJrsookk="; - - # error: linker `aarch64-linux-gnu-gcc` not found - postPatch = '' - rm .cargo/config.toml - ''; - - PROTOC = "${protobuf}/bin/protoc"; - PROTOC_INCLUDE = "${protobuf}/include"; - - ROCKSDB_INCLUDE_DIR = "${rocksdb}/include"; - ROCKSDB_LIB_DIR = "${rocksdb}/lib"; - - nativeBuildInputs = [ - pkg-config - rustPlatform.bindgenHook - ]; - - buildInputs = [ openssl ] - ++ lib.optionals stdenv.isDarwin [ SystemConfiguration ]; - - checkFlags = [ - # flaky - "--skip=ws_integration::none::merge" - ]; - - passthru.tests.version = testers.testVersion { - package = surrealdb; - command = "surreal version"; - }; - - meta = with lib; { - description = "A scalable, distributed, collaborative, document-graph database, for the realtime web"; - homepage = "https://surrealdb.com/"; - mainProgram = "surreal"; - license = licenses.bsl11; - maintainers = with maintainers; [ sikmir happysalada ]; - }; -} |