syndicate-flake/syndicate-server/default.nix

23 lines
792 B
Nix
Raw Normal View History

# https://git.syndicate-lang.org/synit/synit/src/branch/main/packaging/packages/syndicate-server/APKBUILD
2021-09-02 10:16:35 +00:00
{ lib, rustPlatform, rust, fetchgit, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "syndicate-server";
2023-05-15 21:35:09 +00:00
version = "0.30.0";
2021-09-02 10:16:35 +00:00
src = fetchgit {
url = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs.git";
rev = "${pname}-v${version}";
2023-05-15 21:35:09 +00:00
sha256 = "sha256-1WVquqlLaTbrxrzm9HqDp+OuZb2GTlaBME4iL+devGA=";
2021-09-02 10:16:35 +00:00
};
2023-05-15 21:35:09 +00:00
cargoHash = "sha256-hTxHoVMM6jhPFV4u2Lf7je3drG/AIrrUNo796OYGZ7I=";
2021-09-02 10:16:35 +00:00
nativeBuildInputs = [ rust pkg-config ];
buildInputs = [ openssl ];
2021-09-03 11:48:15 +00:00
meta = {
description = "Syndicate broker server";
2021-09-03 11:48:15 +00:00
homepage = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs/";
maintainers = with lib.maintainers; [ ehmry ];
};
2021-09-02 10:16:35 +00:00
}