surrealdb: 1.3.1 → 1.4.2

This commit is contained in:
Nikolay Korotkiy 2024-05-01 15:59:31 +04:00
parent 7917d334bb
commit e02a4df2ba
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
1 changed files with 5 additions and 3 deletions

View File

@ -16,16 +16,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "surrealdb";
version = "1.3.1";
version = "1.4.2";
src = fetchFromGitHub {
owner = "surrealdb";
repo = "surrealdb";
rev = "v${version}";
hash = "sha256-dnfgU7nTX3vvqN9Mox6USRfpFdEI/dAOKIVZ2Jd4t9o=";
hash = "sha256-LC/T+TkHdZ0uWaVQpR2Q9l0fShPL871rOfxxsXyJnvw=";
};
cargoHash = "sha256-B+x+xEcwHqoYMolAuMQzSiO/QA1FiBGO3eis9kgN1S4=";
cargoHash = "sha256-1/l++iXiPCIwAVE8VQCSS++/9i3Kh1RNq3WnUjRy2fU=";
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''
@ -38,6 +38,8 @@ rustPlatform.buildRustPackage rec {
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
RUSTFLAGS = "--cfg surrealdb_unstable";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook