mocha: add updateScript
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user