diff --git a/pkgs/by-name/th/thunderbird-mcp/package-lock.json b/pkgs/by-name/th/thunderbird-mcp/package-lock.json index 3ad83f5984f8..b6898bb0ad9b 100644 --- a/pkgs/by-name/th/thunderbird-mcp/package-lock.json +++ b/pkgs/by-name/th/thunderbird-mcp/package-lock.json @@ -1,12 +1,12 @@ { "name": "thunderbird-mcp", - "version": "0.7.4", + "version": "0.9.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "thunderbird-mcp", - "version": "0.7.4", + "version": "0.9.1", "license": "MIT", "bin": { "thunderbird-mcp": "mcp-bridge.cjs" diff --git a/pkgs/by-name/th/thunderbird-mcp/package.nix b/pkgs/by-name/th/thunderbird-mcp/package.nix index a15fa5372f94..87ca28a07a39 100644 --- a/pkgs/by-name/th/thunderbird-mcp/package.nix +++ b/pkgs/by-name/th/thunderbird-mcp/package.nix @@ -7,13 +7,13 @@ buildNpmPackage (finalAttrs: { pname = "thunderbird-mcp"; - version = "0.7.4"; + version = "0.9.1"; src = fetchFromGitHub { owner = "TKasperczyk"; repo = "thunderbird-mcp"; tag = "v${finalAttrs.version}"; - hash = "sha256-jrmHqToe+lJTpoG1QYaYHVk84PaO5zKAXLwr3Opl0A4="; + hash = "sha256-uN/xvN+bbtFTWMd2Kko/d07FXna5e7jdfZPX8vAwfa4="; }; postPatch = '' @@ -23,16 +23,27 @@ buildNpmPackage (finalAttrs: { forceEmptyCache = true; dontNpmBuild = true; - npmDepsHash = "sha256-D0DAjK/u59rOKNf5kCu/OYkch+4lZYgdHkuib0sqtIw="; + npmDepsHash = "sha256-Dhm/6nJOGAFKUTmnWmDfnsLyYcDSVPvrWS4DlyOlBNk="; doCheck = true; # Tests use local mock servers. __darwinAllowLocalNetworking = true; - checkPhase = "npm test"; + checkPhase = '' + runHook preCheck + npm test + runHook postCheck + ''; - passthru.updateScript = nix-update-script { }; + preCheck = '' + # This is a test for the project's CI + rm test/release-workflow.test.cjs + ''; + + passthru.updateScript = nix-update-script { + extraArgs = [ "--generate-lockfile" ]; + }; meta = { description = "MCP server for Thunderbird - enables AI assistants to access email, contacts, and calendars";