arrpc: init at 3.2.0
This commit is contained in:
parent
3b4ba08b95
commit
4b42ef1fb8
40
pkgs/by-name/ar/arrpc/package.nix
Normal file
40
pkgs/by-name/ar/arrpc/package.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib
|
||||||
|
, buildNpmPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage {
|
||||||
|
pname = "arrpc";
|
||||||
|
version = "3.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "OpenAsar";
|
||||||
|
repo = "arrpc";
|
||||||
|
# Release commits are not tagged
|
||||||
|
# release: 3.2.0
|
||||||
|
rev = "9c3e981437b75606c74ef058c67d1a8c083ce49a";
|
||||||
|
hash = "sha256-tsO58q6tqqXCJLjZmLQGt1VtKsuoqWmh5SlnuDtJafg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Make installation less cumbersome
|
||||||
|
# Remove after next release
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/OpenAsar/arrpc/pull/50.patch";
|
||||||
|
hash = "sha256-qFlrbe2a4x811wpmWUcGDe2CPlt9x3HI+/t0P2v4kPc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-vxx0w6UjwxIK4cgpivtjNbIgkb4wKG4ijSHdP/FeQZ4=";
|
||||||
|
|
||||||
|
dontNpmBuild = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Open Discord RPC server for atypical setups";
|
||||||
|
homepage = "https://arrpc.openasar.dev/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ anomalocaris ];
|
||||||
|
mainProgram = "arrpc";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue