mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
jellyfin-rpc: init at 1.3.0 (#349628)
This commit is contained in:
commit
7a883deda1
39
pkgs/by-name/je/jellyfin-rpc/package.nix
Normal file
39
pkgs/by-name/je/jellyfin-rpc/package.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "jellyfin-rpc";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Radiicall";
|
||||
repo = "jellyfin-rpc";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-sr82lTOr6RUvYD0CVZMyyRAFjai1oLnRWIszuu7/jE0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-KHbYM7aWgch+DWF46DpFCCt7JoKR0sasuFO3xPOytWA=";
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Displays the content you're currently watching on Discord";
|
||||
homepage = "https://github.com/Radiicall/jellyfin-rpc";
|
||||
changelog = "https://github.com/Radiicall/jellyfin-rpc/releases/tag/${version}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
mainProgram = "jellyfin-rpc";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user