diff options
Diffstat (limited to 'pkgs/by-name/ar')
-rw-r--r-- | pkgs/by-name/ar/arrpc/package.nix | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/pkgs/by-name/ar/arrpc/package.nix b/pkgs/by-name/ar/arrpc/package.nix index eeb4dd4fef250..b103718bb357d 100644 --- a/pkgs/by-name/ar/arrpc/package.nix +++ b/pkgs/by-name/ar/arrpc/package.nix @@ -1,41 +1,31 @@ { lib , buildNpmPackage , fetchFromGitHub -, fetchpatch -}: - -buildNpmPackage { +}: buildNpmPackage rec { pname = "arrpc"; - version = "3.2.0"; + version = "3.3.0"; src = fetchFromGitHub { owner = "OpenAsar"; repo = "arrpc"; # Release commits are not tagged - # release: 3.2.0 - rev = "9c3e981437b75606c74ef058c67d1a8c083ce49a"; - hash = "sha256-tsO58q6tqqXCJLjZmLQGt1VtKsuoqWmh5SlnuDtJafg="; + # release: 3.3.0 + rev = "c6e23e7eb733ad396d3eebc328404cc656fed581"; + hash = "sha256-OeEFNbmGp5SWVdJJwXZUkkNrei9jyuPc+4E960l8VRA="; }; - # Make installation less cumbersome - # Remove after next release - patches = [ - (fetchpatch { - # https://github.com/OpenAsar/arrpc/pull/50 - url = "https://github.com/OpenAsar/arrpc/commit/7fa6c90204450eb3952ce9cddfecb0a5ba5e4313.patch"; - hash = "sha256-qFlrbe2a4x811wpmWUcGDe2CPlt9x3HI+/t0P2v4kPc="; - }) - ]; - - npmDepsHash = "sha256-vxx0w6UjwxIK4cgpivtjNbIgkb4wKG4ijSHdP/FeQZ4="; + npmDepsHash = "sha256-YlSUGncpY0MyTiCfZcPsfcNx3fR+SCtkOFWbjOPLUzk="; dontNpmBuild = true; - meta = with lib; { + meta = { + # ideally we would do blob/${version}/changelog.md here + # upstream does not tag releases + changelog = "https://github.com/OpenAsar/arrpc/blob/${src.rev}/changelog.md"; description = "Open Discord RPC server for atypical setups"; homepage = "https://arrpc.openasar.dev/"; - license = licenses.mit; - maintainers = with maintainers; [ anomalocaris ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ anomalocaris NotAShelf ]; mainProgram = "arrpc"; }; } |