From 811f5beae13d6f88da081abb0a4dc6437af9c420 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 4 Sep 2023 04:50:30 -0400 Subject: [PATCH] jellyfin-rpc: init at 0.14.6.04b412f --- pkgs/jellyfin-rpc/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/jellyfin-rpc/default.nix diff --git a/pkgs/jellyfin-rpc/default.nix b/pkgs/jellyfin-rpc/default.nix new file mode 100644 index 0000000..ba2fcde --- /dev/null +++ b/pkgs/jellyfin-rpc/default.nix @@ -0,0 +1,24 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "jellyfin-rpc"; + version = "0.14.6"; + + src = fetchFromGitHub { + owner = "Radiicall"; + repo = "jellyfin-rpc"; + rev = "04b412fb08268e9ee9e0aebfb72ea06e7284275a"; + sha256 = "sha256-EcydqJoeLEfY40UHermU8jw7PHAAii8YQR/m4q9S1vo="; + }; + cargoHash = "sha256-C+ZWYNW9tWol8n5y2q+qx0ava8fn3hqEzCxIEtCJDTw="; + + meta = with lib; { + description = "Displays the content you're currently watching on Discord!"; + homepage = "https://github.com/Radiicall/jellyfin-rpc"; + license = licenses.gpl3; + maintainers = with maintainers; [notohh]; + }; +}