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
40 lines
917 B
Nix
40 lines
917 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildNpmPackage rec {
|
|
pname = "arrpc";
|
|
version = "3.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenAsar";
|
|
repo = "arrpc";
|
|
tag = version;
|
|
hash = "sha256-WSwnCE3hs3Rj42XDbPtxuYL8tAlfzuWPkIypKzCu8EQ=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-A98oNT1rGctSlJG9yLaa6i0VsGMIo1r2NoNk00SVupk=";
|
|
|
|
dontNpmBuild = true;
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/lib/systemd/user
|
|
substitute ${./arrpc.service} $out/lib/systemd/user/arrpc.service \
|
|
--subst-var-by arrpc $out/bin/arrpc
|
|
'';
|
|
|
|
meta = {
|
|
changelog = "https://github.com/OpenAsar/arrpc/blob/${version}/changelog.md";
|
|
description = "Open Discord RPC server for atypical setups";
|
|
homepage = "https://arrpc.openasar.dev/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
anomalocaris
|
|
NotAShelf
|
|
ulysseszhan
|
|
];
|
|
mainProgram = "arrpc";
|
|
};
|
|
}
|