Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
822 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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";
};
})