Skip to content

Commit 13bfec1

Browse files
mcpm: init at 1.13.1
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
1 parent b5d3f6d commit 13bfec1

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

pkgs/by-name/mc/mcpm/package.nix

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
lib,
3+
python3Packages,
4+
fetchFromGitHub,
5+
}:
6+
7+
python3Packages.buildPythonApplication rec {
8+
pname = "mcpm";
9+
version = "1.13.1"; # Last known working version without problematic dependencies
10+
11+
src = fetchFromGitHub {
12+
owner = "pathintegral-institute";
13+
repo = "mcpm.sh";
14+
tag = "v${version}";
15+
hash = "sha256-vIyUaVLjfXY48ALeArs1Gdqo9tOEAkDTv+SeUL9muz0=";
16+
};
17+
18+
pyproject = true;
19+
20+
build-system = with python3Packages; [
21+
hatchling
22+
setuptools
23+
wheel
24+
pip
25+
];
26+
27+
dependencies = with python3Packages; [
28+
# Core dependencies from pyproject.toml v1.13.1
29+
click
30+
rich
31+
requests
32+
pydantic
33+
mcp
34+
ruamel-yaml
35+
watchfiles
36+
duckdb
37+
psutil
38+
prompt-toolkit
39+
deprecated
40+
];
41+
42+
meta = {
43+
description = "Model Context Protocol Manager";
44+
homepage = "https://mcpm.sh";
45+
license = lib.licenses.mit;
46+
maintainers = with lib.maintainers; [ luochen1990 ];
47+
mainProgram = "mcpm";
48+
};
49+
}

0 commit comments

Comments
 (0)