lol

Merge pull request #255574 from Anomalocaridid/arrpc

arrpc: init at 3.2.0

authored by

Robert Schütz and committed by
GitHub
d1906e0f 9d8ff7c2

+40
+40
pkgs/by-name/ar/arrpc/package.nix
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + , fetchpatch 5 + }: 6 + 7 + buildNpmPackage { 8 + pname = "arrpc"; 9 + version = "3.2.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "OpenAsar"; 13 + repo = "arrpc"; 14 + # Release commits are not tagged 15 + # release: 3.2.0 16 + rev = "9c3e981437b75606c74ef058c67d1a8c083ce49a"; 17 + hash = "sha256-tsO58q6tqqXCJLjZmLQGt1VtKsuoqWmh5SlnuDtJafg="; 18 + }; 19 + 20 + # Make installation less cumbersome 21 + # Remove after next release 22 + patches = [ 23 + (fetchpatch { 24 + url = "https://github.com/OpenAsar/arrpc/pull/50.patch"; 25 + hash = "sha256-qFlrbe2a4x811wpmWUcGDe2CPlt9x3HI+/t0P2v4kPc="; 26 + }) 27 + ]; 28 + 29 + npmDepsHash = "sha256-vxx0w6UjwxIK4cgpivtjNbIgkb4wKG4ijSHdP/FeQZ4="; 30 + 31 + dontNpmBuild = true; 32 + 33 + meta = with lib; { 34 + description = "Open Discord RPC server for atypical setups"; 35 + homepage = "https://arrpc.openasar.dev/"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ anomalocaris ]; 38 + mainProgram = "arrpc"; 39 + }; 40 + }