nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 982 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 buildGoModule, 6 alsa-lib, 7}: 8 9buildGoModule rec { 10 pname = "jellycli"; 11 version = "0.9.1"; 12 13 src = fetchFromGitHub { 14 owner = "tryffel"; 15 repo = "jellycli"; 16 rev = "v${version}"; 17 sha256 = "1awzcxnf175a794rhzbmqxxjss77mfa1yrr0wgdxaivrlkibxjys"; 18 }; 19 20 vendorHash = "sha256-3tmNZd1FH1D/1w4gRmaul2epKb70phSUAjUBCbPV3Ak="; 21 22 patches = [ 23 # Fixes log file path for tests. 24 ./fix-test-dir.patch 25 ]; 26 27 buildInputs = [ alsa-lib ]; 28 29 meta = { 30 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); 31 description = "Jellyfin terminal client"; 32 longDescription = '' 33 Terminal music player, works with Jellyfin (>= 10.6) , Emby (>= 4.4), and 34 Subsonic comptabile servers (API >= 1.16), e.g., Navidrome. 35 ''; 36 homepage = "https://github.com/tryffel/jellycli"; 37 license = lib.licenses.gpl3Plus; 38 maintainers = with lib.maintainers; [ oxzi ]; 39 mainProgram = "jellycli"; 40 }; 41}