msg
NixOS Configuration CI / Nix Flake Check (push) Successful in 26s

This commit is contained in:
luis committed 2026-09-23 12:25:32 +02:00
1 parent 471a7b4fbf
commit f23109857b
3 files changed
+133 -11

No files matched your search

+14 -3
View File
@@ -2,18 +2,28 @@
lib,
python3Packages,
fetchFromGitHub,
fetchurl,
}:
let
# Upstream 0.7.0 was ported to the MCP SDK 2.x API
# (`mcp.server.mcpserver.MCPServer`). nixpkgs pins the SDK at 1.x, so use the
# per-package 2.x stack from packages/lib/mcp2.nix.
mcp2 = import ../lib/mcp2.nix {
inherit lib fetchurl;
pythonPackages = python3Packages;
};
in
python3Packages.buildPythonApplication rec {
pname = "duckduckgo-mcp-server";
version = "0.6.1";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nickclyde";
repo = "duckduckgo-mcp-server";
rev = "v${version}";
hash = "sha256-X99edQE4317/WEadi/QQnLZHpWCMBW2ipa8am4lfO2Q=";
hash = "sha256-wI6Q4lBZYzU4VORLwGZowv8D5UfhKaMeqBIQ7u6eRxc=";
};
build-system = [ python3Packages.hatchling ];
@@ -22,10 +32,11 @@ python3Packages.buildPythonApplication rec {
beautifulsoup4
httpx
httpcore
mcp
mcp2.mcp
];
doCheck = false;
dontCheckRuntimeDeps = true;
pythonImportsCheck = [ "duckduckgo_mcp_server" ];