mcp-grafana: init at 0.4.2

This commit is contained in:
pilz0 2025-06-16 13:05:22 +02:00
parent 7bbd8c4132
commit 231e7bf148

View File

@ -0,0 +1,38 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "mcp-grafana";
version = "0.4.2";
src = fetchFromGitHub {
owner = "grafana";
repo = "mcp-grafana";
tag = "v${finalAttrs.version}";
hash = "sha256-3w6xnDAcuDMZPr6lGGh0FpcyG2fRpkeVcJlZMdszu/g=";
};
vendorHash = "sha256-61nn/p6Un+uHuPK4hipJ3A2DhAEqpWTGefM8ENAOP1E=";
ldflags = [
"-s"
"-w"
];
postInstall = ''
rm $out/bin/jsonschema
'';
__darwinAllowLocalNetworking = true;
meta = {
description = "MCP server for Grafana";
homepage = "https://github.com/grafana/mcp-grafana";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ pilz ];
mainProgram = "mcp-grafana";
};
})