Skip to content

Commit 56fab16

Browse files
author
Emery Hemingway
committed
1 parent 4a18f25 commit 56fab16

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitea,
5+
pkg-config,
6+
openssl,
7+
versionCheckHook,
8+
}:
9+
10+
rustPlatform.buildRustPackage rec {
11+
pname = "syndicate-server";
12+
version = "0.46.0";
13+
src = fetchFromGitea {
14+
domain = "git.syndicate-lang.org";
15+
owner = "syndicate-lang";
16+
repo = "syndicate-rs";
17+
rev = "${pname}-v${version}";
18+
sha256 = "sha256-bTteZIlBSoQ1o5shgd9NeKVvEhZTyG3i2zbeVojWiO8=";
19+
};
20+
cargoHash = "sha256-SIpdFXTk6MC/drjCLaaa49BbGsvCMNbPGCfTxAlCo9c=";
21+
nativeBuildInputs = [
22+
pkg-config
23+
versionCheckHook
24+
];
25+
buildInputs = [ openssl ];
26+
27+
RUSTC_BOOTSTRAP = 1;
28+
29+
doInstallCheck = true;
30+
31+
meta = {
32+
description = "Syndicate broker server";
33+
homepage = "http://synit.org/";
34+
license = lib.licenses.asl20;
35+
mainProgram = "syndicate-server";
36+
maintainers = with lib.maintainers; [ ehmry ];
37+
platforms = lib.platforms.linux;
38+
};
39+
}

0 commit comments

Comments
 (0)