mocha: add updateScript

This commit is contained in:
dish
2025-11-24 18:37:30 -05:00
parent d0e91a04cf
commit 029f44386d
+3
View File
@@ -2,6 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage (finalAttrs: {
@@ -22,6 +23,8 @@ buildNpmPackage (finalAttrs: {
rm $out/bin/_mocha
'';
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/mochajs/mocha/blob/v${finalAttrs.version}/CHANGELOG.md";
description = "Simple, flexible, fun Javascript test framework for Node.js & the browser";