mcp-grafana: init at 0.4.2
This commit is contained in:
		
							parent
							
								
									7bbd8c4132
								
							
						
					
					
						commit
						231e7bf148
					
				
							
								
								
									
										38
									
								
								pkgs/by-name/mc/mcp-grafana/package.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								pkgs/by-name/mc/mcp-grafana/package.nix
									
									
									
									
									
										Normal 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"; | ||||
|   }; | ||||
| }) | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 pilz0
						pilz0