rsrpc: init at 0.24.2

This commit is contained in:
dish 2025-06-30 15:45:17 -04:00
parent 098115457d
commit cefb3d5fa3
No known key found for this signature in database

View File

@ -0,0 +1,38 @@
{
lib,
fetchFromGitHub,
rustPlatform,
openssl,
pkg-config,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rsrpc";
version = "0.24.2";
src = fetchFromGitHub {
owner = "SpikeHD";
repo = "rsRPC";
tag = "v${finalAttrs.version}";
hash = "sha256-Epf84YY7wkQjBbM09NbCSLiVreIgc/OA2g8tN8OmwXQ=";
};
cargoHash = "sha256-fTDAs88GE+ZoaCSJwCAUolTHpigDbkqNVMlbZOO5v1o=";
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";
};
})