32 lines
731 B
Nix
32 lines
731 B
Nix
|
|
{ lib, buildNpmPackage, nodejs_22 }:
|
||
|
|
|
||
|
|
buildNpmPackage {
|
||
|
|
pname = "jortt-mcp";
|
||
|
|
version = "0.2.0";
|
||
|
|
|
||
|
|
# Explicit fileset: never pull .env, dist/ or other stray files into the store.
|
||
|
|
src = lib.fileset.toSource {
|
||
|
|
root = ../.;
|
||
|
|
fileset = lib.fileset.unions [
|
||
|
|
../package.json
|
||
|
|
../package-lock.json
|
||
|
|
../tsconfig.json
|
||
|
|
../src
|
||
|
|
../scripts
|
||
|
|
../LICENSE
|
||
|
|
../README.md
|
||
|
|
];
|
||
|
|
};
|
||
|
|
|
||
|
|
nodejs = nodejs_22;
|
||
|
|
|
||
|
|
npmDepsHash = "sha256-eKdcd++SsI9gi3exUoNogbCpsUxSrVGRM1iQMUcF9Y4=";
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
description = "Model Context Protocol server for the Jortt accounting API";
|
||
|
|
homepage = "https://github.com/deprekated/jortt-mcp";
|
||
|
|
license = lib.licenses.mit;
|
||
|
|
mainProgram = "jortt-mcp";
|
||
|
|
};
|
||
|
|
}
|