diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-26 13:47:10 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-26 13:47:36 +0000 |
| commit | 15a9186101a40ea746fe5ada0c6c15202e8a8c75 (patch) | |
| tree | eb806b9ab3bfa90ba25cc5c11390e44db9545a16 /gnu | |
| parent | 85dea73b18ea3c949a92d768ce873122afa4d0a9 (diff) | |
gnu: Add go-github-com-modelcontextprotocol-go-sdk.
* gnu/packages/golang-xyz.scm (go-github-com-modelcontextprotocol-go-sdk): New variable.
Change-Id: I39511b118dbb3ed15be7795a2fadf7615439caa9
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 968d295b155..0f3d0772e85 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -17935,6 +17935,46 @@ running in a Linux user namespace.") terminal (state, sizes).") (license license:asl2.0))) +(define-public go-github-com-modelcontextprotocol-go-sdk + (package + (name "go-github-com-modelcontextprotocol-go-sdk") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/modelcontextprotocol/go-sdk") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lpk2zc6km2d3aadgc9yr2dj8z0zky8vdj63iip1wg7aagl0cyx8")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/modelcontextprotocol/go-sdk" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/examples"))))))) + (native-inputs + (list go-github-com-google-go-cmp + go-golang-org-x-tools)) + (propagated-inputs + (list go-github-com-golang-jwt-jwt-v5 + go-github-com-google-jsonschema-go + go-github-com-segmentio-encoding + go-github-com-yosida95-uritemplate-v3 + go-golang-org-x-oauth2)) + (home-page "https://github.com/modelcontextprotocol/go-sdk") + (synopsis "MCP Go SDK") + (description + "This packages provides an implementation of the official Go software +development kit (SDK) for the Model Context Protocol (MCP).") + (license license:expat))) + (define-public go-github-com-modern-go-concurrent (package (name "go-github-com-modern-go-concurrent") |
