nixpkgs/pkgs/by-name/ar/arrpc/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
893 B
Nix
Raw Normal View History

2023-09-17 05:27:18 +03:00
{ lib
, buildNpmPackage
, fetchFromGitHub
2024-02-06 09:12:39 +03:00
}: buildNpmPackage rec {
2023-09-17 05:27:18 +03:00
pname = "arrpc";
2024-05-01 16:02:55 +03:00
version = "3.4.0";
2023-09-17 05:27:18 +03:00
src = fetchFromGitHub {
owner = "OpenAsar";
repo = "arrpc";
# Release commits are not tagged
2024-05-01 15:46:00 +03:00
# release: 3.4.0
rev = "cca93db585dedf8acc1423f5e2db215de95c4c3b";
hash = "sha256-SeegrCgbjfVxG/9xfOcdfbVdDssZOhjBRnDipu6L7Wg=";
2023-09-17 05:27:18 +03:00
};
2024-05-01 15:46:00 +03:00
npmDepsHash = "sha256-S9cIyTXqCp8++Yj3VjBbcStOjzjgd0Cq7KL7NNzZFpY=";
2023-09-17 05:27:18 +03:00
dontNpmBuild = true;
2024-02-06 09:12:39 +03:00
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";
2023-09-17 05:27:18 +03:00
description = "Open Discord RPC server for atypical setups";
homepage = "https://arrpc.openasar.dev/";
2024-02-06 09:12:39 +03:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ anomalocaris NotAShelf ];
2023-09-17 05:27:18 +03:00
mainProgram = "arrpc";
};
}