From 6a0c84f8c74770e0fc0f47a5925a91f5a5c781a6 Mon Sep 17 00:00:00 2001 From: GKHWB Date: Wed, 15 Jan 2025 19:07:34 -0500 Subject: [PATCH 1/2] maintainers: add GKHWB --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 98a9caf1e9f1..2e42674b69b9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8461,6 +8461,12 @@ githubId = 60962839; name = "Mazen Zahr"; }; + GKHWB = { + github = "GKHWB"; + githubId = 68881230; + name = "GKHWB"; + email = "kingdomg@tuta.com"; + }; gkleen = { name = "Gregor Kleen"; email = "xpnfr@bouncy.email"; From 264c9db86d74de43563de27274f8e474d319b268 Mon Sep 17 00:00:00 2001 From: GKHWB Date: Sun, 19 Jan 2025 09:38:58 -0500 Subject: [PATCH 2/2] jellyfin-tui: init at 1.0.5 --- pkgs/by-name/je/jellyfin-tui/package.nix | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/je/jellyfin-tui/package.nix diff --git a/pkgs/by-name/je/jellyfin-tui/package.nix b/pkgs/by-name/je/jellyfin-tui/package.nix new file mode 100644 index 000000000000..ee29759af978 --- /dev/null +++ b/pkgs/by-name/je/jellyfin-tui/package.nix @@ -0,0 +1,47 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + pkg-config, + openssl, + mpv, + nix-update-script, + versionCheckHook, +}: + +rustPlatform.buildRustPackage rec { + pname = "jellyfin-tui"; + version = "1.0.5"; + + src = fetchFromGitHub { + owner = "dhonus"; + repo = "jellyfin-tui"; + tag = "v${version}"; + hash = "sha256-dME3oM3k5TGjN8S/93Crt3vw8+KjZWivkVzg+eqwfe4="; + }; + + cargoHash = "sha256-DFwEcKPc5c+xYas/gI3dHGRW8r4B8GBRXiI9VjdMrpw="; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + openssl + mpv + ]; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + versionCheckProgramArg = "--version"; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Jellyfin music streaming client for the terminal"; + mainProgram = "jellyfin-tui"; + homepage = "https://github.com/dhonus/jellyfin-tui"; + changelog = "https://github.com/dhonus/jellyfin-tui/releases/tag/v${version}"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ GKHWB ]; + }; +}