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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, rustPlatform
, fetchFromGitea
, pkg-config
, openssl
, versionCheckHook
}:
rustPlatform.buildRustPackage rec {
pname = "syndicate-server";
version = "0.51.0-rc.1-14";
src = fetchFromGitea {
domain = "git.syndicate-lang.org";
owner = "ehmry";
repo = "syndicate-rs";
rev = "d6065146e33be7f8eb09f615c3241c90002f7db8";
hash = "sha256-Ye915Mh68PtLouuUjzNG3HEzc9J+lCMAPDXzcfzkENg=";
};
cargoHash = "sha256-1v0EDk+vRr/swHTHROdQiaALcLQ/L6JJI6xMhOURoBg=";
nativeBuildInputs = [
pkg-config
versionCheckHook
];
buildInputs = [ openssl ];
RUSTC_BOOTSTRAP = 1;
# Renable the check when back on a release.
doInstallCheck = false;
meta = {
description = "Syndicate broker server";
homepage = "https://synit.org/";
license = lib.licenses.asl20;
mainProgram = "syndicate-server";
maintainers = with lib.maintainers; [ ehmry ];
platforms = lib.platforms.linux;
};
}
|