Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
822 B
Nix
39 lines
822 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
openssl,
|
|
pkg-config,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "rsrpc";
|
|
version = "0.24.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SpikeHD";
|
|
repo = "rsRPC";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-qQduMRITva425T+w2sWX/mRmJLq2SsfPkFzgjyq9x9E=";
|
|
};
|
|
|
|
cargoHash = "sha256-aUTy+8XCUgsBEBBWr0PmvZ6agkq0sojXPWi9rDWp2Iw=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/SpikeHD/rsRPC/releases/tag/v${finalAttrs.version}";
|
|
description = "Rust implementation of the Discord RPC server";
|
|
homepage = "https://github.com/SpikeHD/rsRPC";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.pyrox0 ];
|
|
mainProgram = "rsrpc-cli";
|
|
};
|
|
})
|