38 lines
839 B
Nix
38 lines
839 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchurl,
|
|
}:
|
|
|
|
let
|
|
wheel = fetchurl {
|
|
url = "https://files.pythonhosted.org/packages/7e/81/fb2a2f2073d22b0a18c4c96b9c9ff386c3d0b49b6263097bf646d8b72800/transmission_mcp-1.1.0-py3-none-any.whl";
|
|
hash = "sha256-J22L3lY+XVdLdZeu8KuFdly0BkFUoAbX4GE/9a5kKSU=";
|
|
};
|
|
in
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "transmission-mcp";
|
|
version = "1.1.0";
|
|
format = "wheel";
|
|
|
|
src = wheel;
|
|
|
|
doCheck = false;
|
|
|
|
dependencies = with python3Packages; [
|
|
python-dotenv
|
|
fastmcp
|
|
transmission-rpc
|
|
fastapi
|
|
uvicorn
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "MCP server for the Transmission BitTorrent client";
|
|
homepage = "https://github.com/philogicae/transmission-mcp";
|
|
license = licenses.mit;
|
|
mainProgram = "transmission-mcp";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|