{ lib, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "yarr"; version = "2.2.2"; src = fetchFromGitHub { owner = "dinglebear-ai"; repo = "yarr"; rev = "15a599bab38a"; hash = "sha256-PlD2NYK06rVdKirUq2dw04WL9yFrM2TB1d67Weero0k="; }; cargoHash = "sha256-e89uYPLqwhh1epedUvVEDTT4y35nuwLWlco4AVvKoK4="; meta = with lib; { description = "Rust MCP server for media automation fleets - Sonarr, Radarr, Prowlarr, Jellyfin, SABnzbd, qBittorrent, Plex"; homepage = "https://github.com/dinglebear-ai/yarr"; license = licenses.agpl3Only; mainProgram = "yarr"; platforms = platforms.all; }; }