surrealdb: modernize
This commit is contained in:
parent
3ecec2474e
commit
c02c28168d
@ -6,17 +6,16 @@
|
|||||||
openssl,
|
openssl,
|
||||||
rocksdb,
|
rocksdb,
|
||||||
testers,
|
testers,
|
||||||
surrealdb,
|
|
||||||
protobuf,
|
protobuf,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "surrealdb";
|
pname = "surrealdb";
|
||||||
version = "2.3.7";
|
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-gZICuvgMOdwa39i+5ETUDuFfBtSiZuuFOYW5pHPkoms=";
|
hash = "sha256-gZICuvgMOdwa39i+5ETUDuFfBtSiZuuFOYW5pHPkoms=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user