mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
39 lines
879 B
Nix
39 lines
879 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
pkg-config,
|
|
openssl,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "syndicate-server";
|
|
version = "0.46.0";
|
|
src = fetchFromGitea {
|
|
domain = "git.syndicate-lang.org";
|
|
owner = "syndicate-lang";
|
|
repo = "syndicate-rs";
|
|
rev = "${pname}-v${version}";
|
|
hash = "sha256-bTteZIlBSoQ1o5shgd9NeKVvEhZTyG3i2zbeVojWiO8=";
|
|
};
|
|
cargoHash = "sha256-SIpdFXTk6MC/drjCLaaa49BbGsvCMNbPGCfTxAlCo9c=";
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
versionCheckHook
|
|
];
|
|
buildInputs = [ openssl ];
|
|
|
|
RUSTC_BOOTSTRAP = 1;
|
|
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
description = "Syndicate broker server";
|
|
homepage = "http://synit.org/";
|
|
license = lib.licenses.asl20;
|
|
mainProgram = "syndicate-server";
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|