Files
hermes-agent ac60ea8712
NixOS Configuration CI / Nix Flake Check (push) Successful in 17s
fix: correct SRI hash for applemusic-mcp source
2026-06-25 16:12:48 +02:00

41 lines
849 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "applemusic-mcp";
version = "0.15.1";
pyproject = true;
src = fetchFromGitHub {
owner = "epheterson";
repo = "applemusic-mcp";
rev = "v${version}";
hash = "sha256-N97bZyT8TWOrt1WS7W31OJaICwoUxFfcDDuRs+TweTQ=";
};
build-system = with python3Packages; [
hatchling
];
dependencies = with python3Packages; [
mcp
pyjwt
requests
cryptography
playwright
];
pythonImportsCheck = [ "applemusic_mcp" ];
meta = with lib; {
description = "MCP server for Apple Music — manage playlists, search catalog, browse library";
homepage = "https://github.com/epheterson/applemusic-mcp";
license = licenses.mit;
mainProgram = "applemusic-mcp";
platforms = platforms.all;
};
}