Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ceaaec2068 | ||
|
|
560d2d102f | ||
|
|
81c7f99174 | ||
|
|
d7c952cf4d | ||
|
|
810820658a |
No files matched your search
@@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "jellyfin-mcp";
|
pname = "jellyfin-mcp";
|
||||||
version = "2026.604.2";
|
version = "2026.1015.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jaredtrent";
|
owner = "jaredtrent";
|
||||||
repo = "jellyfin-mcp";
|
repo = "jellyfin-mcp";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-Ks54txfOAkNEWfhl5ZXEIaFzAbmCnwhHtN1+FIa7dgo=";
|
hash = "sha256-5wSYB/peTbvNYDlDBd2M0nA7JreP93nQe1G9rW3hv2I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-cDy+PpZM6xL7ur/xq81y4vlyaDnSOpGkyVV2hh8qI7o=";
|
vendorHash = "sha256-L39HdshrVfVXD+rV3prsKQRosvidynwIlA9J6dtfqmU=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "MCP server for Jellyfin media server — search, playback, metadata, admin";
|
description = "MCP server for Jellyfin media server — search, playback, metadata, admin";
|
||||||
|
|||||||
@@ -93,27 +93,31 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# anything needed at runtime must live in this list.
|
# anything needed at runtime must live in this list.
|
||||||
pymupdf
|
pymupdf
|
||||||
ebooklib
|
ebooklib
|
||||||
|
# Runtime deps for the semantic-search tools (upstream "semantic" extra).
|
||||||
|
# zotero_mcp.semantic_search imports chromadb unconditionally at module
|
||||||
|
# scope (embeddings/providers/__init__.py, chroma_client.py), so these are
|
||||||
|
# hard requirements, not truly optional at runtime.
|
||||||
|
chromadb
|
||||||
|
sentence-transformers
|
||||||
|
openai
|
||||||
|
google-genai
|
||||||
|
tiktoken
|
||||||
];
|
];
|
||||||
|
|
||||||
# Optional extras (semantic search, PDF, scite).
|
# `zotero_get_pdf_outline` reads a PDF's table of contents in a throwaway
|
||||||
# NOTE: buildPythonApplication stores these in passthru only and does NOT
|
# `sys.executable -c ...` child (tools/write.py, _extract_pdf_toc). Under the
|
||||||
# install them; adding an extra here has no runtime effect.
|
# Nix wrapper this package's dependencies are injected into the *parent*
|
||||||
optional-dependencies = with python3Packages; {
|
# interpreter via site.addsitedir, never exported as PYTHONPATH, so the child
|
||||||
semantic = [
|
# gets a bare sys.path and its `import pymupdf` fails. The tool then reports
|
||||||
chromadb
|
# "PyMuPDF (fitz) is required..." even though PyMuPDF is a build input.
|
||||||
sentence-transformers
|
# Forward the parent's sys.path so the child resolves the same modules.
|
||||||
openai
|
# Mirrors nixpkgs' python-modules/vllm/0003-propagate-pythonpath.patch.
|
||||||
google-genai
|
postPatch = ''
|
||||||
tiktoken
|
substituteInPlace src/zotero_mcp/tools/write.py \
|
||||||
];
|
--replace-fail \
|
||||||
pdf = [
|
'child_env.setdefault("PYTHONUTF8", "1")' \
|
||||||
pymupdf
|
'child_env.setdefault("PYTHONUTF8", "1"); child_env["PYTHONPATH"] = os.pathsep.join(p for p in sys.path if p)'
|
||||||
ebooklib
|
'';
|
||||||
];
|
|
||||||
scite = [
|
|
||||||
requests
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "zotero_mcp" ];
|
pythonImportsCheck = [ "zotero_mcp" ];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user