feat: add git.janezic.dev/janezicmatej/todo-mcp

This commit is contained in:
2026-03-01 11:19:42 +01:00
parent 10f6da3b6d
commit 2de3bcb56b
2 changed files with 40 additions and 0 deletions

39
packages/todo-mcp.nix Normal file
View File

@@ -0,0 +1,39 @@
{ pkgs, ... }:
let
version = "v0.2.1";
in
pkgs.rustPlatform.buildRustPackage {
pname = "todo-mcp";
inherit version;
src = pkgs.fetchFromGitea {
domain = "git.janezic.dev";
owner = "janezicmatej";
repo = "todo-mcp";
rev = version;
sha256 = "sha256-BBL7PAgTdGR/+vEJmot8c8mgw5vq5Y/szud0YEiR1UY=";
};
cargoHash = "sha256-uAyD7Tj9qctDXQ5NkR6T/aItxRmd5WqIXr7NeOlCl8M=";
nativeBuildInputs = [ pkgs.installShellFiles ];
preBuild = ''
mkdir -p completions
'';
SHELL_COMPLETIONS_DIR = "completions";
postInstall = ''
installShellCompletion --bash completions/todo-mcp.bash
installShellCompletion --zsh completions/_todo-mcp
installShellCompletion --fish completions/todo-mcp.fish
'';
meta = {
description = "simple todo cli with mcp server for ai integration";
homepage = "https://git.janezic.dev/janezicmatej/todo-mcp";
maintainers = [ ];
};
}

View File

@@ -22,6 +22,7 @@ in
pkgs.starship
inputs.claude-code-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default
packages.todo-mcp
# git and co
pkgs.git