-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
28 lines (26 loc) · 979 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
self: super: {
surrealist = {
"2.0.5" =
let
inherit (super.stdenv.hostPlatform) system;
throwSystem = throw "This surrealist-overlay does not support system: ${system}";
in
super.appimageTools.wrapType2 rec {
pname = "surrealist";
version = "2.0.5";
src = {
x86_64-linux = super.fetchurl {
url = "https://github.com/surrealdb/surrealist/releases/download/surrealist-v${version}/surrealist_${version}_amd64.AppImage";
hash = "sha256-TRQZD+c76B2rGNBtkK1T2QTOzExUVyZOZmnehDRGL1I=";
};
}.${system} or throwSystem;
meta = with super.lib; {
description = "A scalable, distributed, collaborative, document-graph database, for the realtime web";
homepage = "https://github.com/surrealdb/surrealist";
mainProgram = "surrealist";
platforms = [ "x86_64-linux" ];
license = licenses.mit;
};
};
};
}