25 lines
824 B
Nix
25 lines
824 B
Nix
# https://git.syndicate-lang.org/synit/synit/src/branch/main/packaging/packages/syndicate-server/APKBUILD
|
|
|
|
{ lib, rustPlatform, rust, fetchFromGitea, pkg-config, openssl }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "syndicate-server";
|
|
version = "0.33.2";
|
|
src = fetchFromGitea {
|
|
domain = "git.syndicate-lang.org";
|
|
owner = "syndicate-lang";
|
|
repo = "syndicate-rs";
|
|
rev = "${pname}-v${version}";
|
|
sha256 = "sha256-0VgWaBP6PFzq2YfrpTHchqyjZp4BNptcBV+WyCKmfs0=";
|
|
};
|
|
cargoHash = "sha256-EP8/ceFtXF/yqutlw6Jp96uipJW/eAxdb7r7Zsd+pnA=";
|
|
nativeBuildInputs = [ rust pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = {
|
|
description = "Syndicate broker server";
|
|
homepage = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs/";
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
};
|
|
}
|