rsrpc: init at 0.24.2
This commit is contained in:
parent
098115457d
commit
cefb3d5fa3
38
pkgs/by-name/rs/rsrpc/package.nix
Normal file
38
pkgs/by-name/rs/rsrpc/package.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user