mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
mcp-nixos: 2.4.3 -> 3.0.0 (#549578)
This commit is contained in:
@@ -1,35 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "mcp-nixos";
|
||||
version = "2.4.3";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "utensils";
|
||||
repo = "mcp-nixos";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-mWq9nnL4IGhUFkXJr8+t6BresOTDFS1caG8NuFqjrJg=";
|
||||
hash = "sha256-ZqUFTYxXJB4RN+o+5AD8MOK1Fig+I5aOXrzpNpXL0No=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/utensils/mcp-nixos/commit/86f8936f0c257153f8fba10cf8cba7fede6d2f30.patch";
|
||||
sha256 = "sha256-55rQhE9CfTW1KQzUNM86U4S4Efu4yCN+1tZvdOz12oc=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ python3Packages.hatchling ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
beautifulsoup4
|
||||
fastmcp
|
||||
mcp
|
||||
requests
|
||||
];
|
||||
|
||||
@@ -44,11 +35,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
"tests/test_integration.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Requires network access
|
||||
"test_valid_channel"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mcp_nixos" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user