diff options
-rw-r--r-- | pkgs/by-name/ma/mathjax-node-cli/package.nix | 37 | ||||
-rw-r--r-- | pkgs/development/node-packages/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/development/node-packages/node-packages.json | 1 | ||||
-rw-r--r-- | pkgs/development/node-packages/node-packages.nix | 206 |
4 files changed, 38 insertions, 207 deletions
diff --git a/pkgs/by-name/ma/mathjax-node-cli/package.nix b/pkgs/by-name/ma/mathjax-node-cli/package.nix new file mode 100644 index 0000000000000..d15f6bf67b629 --- /dev/null +++ b/pkgs/by-name/ma/mathjax-node-cli/package.nix @@ -0,0 +1,37 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +, fetchpatch +}: + +buildNpmPackage rec { + pname = "mathjax-node-cli"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "mathjax"; + repo = "mathjax-node-cli"; + rev = version; + hash = "sha256-jFSn/Ftm1iNOAmMadHYfy2jm0H/+hP2XCyyNbJqfhkY="; + }; + + patches = [ + # https://github.com/mathjax/mathjax-node-cli/pull/20 + (fetchpatch { + name = "add-package-lock.patch"; + url = "https://github.com/mathjax/mathjax-node-cli/commit/ac304d896d840dc5004045f012abab40648d20fd.patch"; + hash = "sha256-kIfxF5II/PHtzBhhMbO2RcEuZQCNFrLeAnL536WBXq8="; + }) + ]; + + npmDepsHash = "sha256-gGTRr8CN6aP/T/jUqt4E53DYVaz7ykaoG519+3sPdXo="; + + dontNpmBuild = true; + + meta = { + description = "CLI tools for mathjax-node"; + homepage = "https://github.com/mathjax/mathjax-node-cli"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ colinsane ]; + }; +} diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index 0bfe127efff40..97013e58554c1 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -99,6 +99,7 @@ mapAliases { manta = pkgs.node-manta; # Added 2023-05-06 markdownlint-cli = pkgs.markdownlint-cli; # added 2023-07-29 inherit (pkgs) markdownlint-cli2; # added 2023-08-22 + inherit (pkgs) mathjax-node-cli; # added 2023-11-02 mdctl-cli = self."@medable/mdctl-cli"; # added 2023-08-21 inherit (pkgs) mermaid-cli; # added 2023-10-01 musescore-downloader = pkgs.dl-librescore; # added 2023-08-19 diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 471b37c30bf07..56b4337509611 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -166,7 +166,6 @@ , "markdown-link-check" , "mastodon-bot" , "mathjax" -, "mathjax-node-cli" , "meat" , "mocha" , "multi-file-swagger" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 168d6b0c3c2a5..5963f7ebdf4f4 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -86763,212 +86763,6 @@ in bypassCache = true; reconstructLock = true; }; - mathjax-node-cli = nodeEnv.buildNodePackage { - name = "mathjax-node-cli"; - packageName = "mathjax-node-cli"; - version = "1.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/mathjax-node-cli/-/mathjax-node-cli-1.0.1.tgz"; - sha512 = "p1OB9zalQZkKYumfx+8mSX59MysF2Ox2H88gHSUQpdjpuMISwIPfw0MQmsvcS00hntSX05uEDa3uzo+1SgSk5w=="; - }; - dependencies = [ - sources."abab-2.0.6" - sources."acorn-5.7.4" - (sources."acorn-globals-4.3.4" // { - dependencies = [ - sources."acorn-6.4.2" - ]; - }) - sources."acorn-walk-6.2.0" - sources."ajv-6.12.6" - sources."ansi-regex-3.0.1" - sources."ansi-styles-4.3.0" - sources."array-equal-1.0.0" - sources."asn1-0.2.6" - sources."assert-plus-1.0.0" - sources."async-limiter-1.0.1" - sources."asynckit-0.4.0" - sources."aws-sign2-0.7.0" - sources."aws4-1.12.0" - sources."bcrypt-pbkdf-1.0.2" - sources."browser-process-hrtime-1.0.0" - sources."camelcase-5.3.1" - sources."caseless-0.12.0" - sources."cliui-4.1.0" - sources."code-point-at-1.1.0" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."combined-stream-1.0.8" - sources."commander-11.1.0" - sources."core-util-is-1.0.2" - sources."cross-spawn-6.0.5" - sources."cssom-0.3.8" - sources."cssstyle-1.4.0" - sources."dashdash-1.14.1" - (sources."data-urls-1.1.0" // { - dependencies = [ - sources."whatwg-url-7.1.0" - ]; - }) - sources."decamelize-1.2.0" - sources."deep-is-0.1.4" - sources."delayed-stream-1.0.0" - sources."domexception-1.0.1" - sources."ecc-jsbn-0.1.2" - sources."emoji-regex-8.0.0" - sources."end-of-stream-1.4.4" - sources."escalade-3.1.1" - sources."escodegen-1.14.3" - sources."esprima-4.0.1" - sources."estraverse-4.3.0" - sources."esutils-2.0.3" - sources."execa-1.0.0" - sources."extend-3.0.2" - sources."extsprintf-1.3.0" - sources."fast-deep-equal-3.1.3" - sources."fast-json-stable-stringify-2.1.0" - sources."fast-levenshtein-2.0.6" - sources."find-up-3.0.0" - sources."forever-agent-0.6.1" - sources."form-data-2.3.3" - sources."get-caller-file-1.0.3" - sources."get-stream-4.1.0" - sources."getpass-0.1.7" - sources."har-schema-2.0.0" - sources."har-validator-5.1.5" - sources."html-encoding-sniffer-1.0.2" - sources."http-signature-1.2.0" - sources."iconv-lite-0.4.24" - sources."invert-kv-2.0.0" - sources."is-fullwidth-code-point-2.0.0" - sources."is-stream-1.1.0" - sources."is-typedarray-1.0.0" - sources."isexe-2.0.0" - sources."isstream-0.1.2" - sources."jsbn-0.1.1" - sources."jsdom-11.12.0" - sources."json-schema-0.4.0" - sources."json-schema-traverse-0.4.1" - sources."json-stringify-safe-5.0.1" - sources."jsprim-1.4.2" - sources."lcid-2.0.0" - sources."left-pad-1.3.0" - sources."levn-0.3.0" - sources."locate-path-3.0.0" - sources."lodash-4.17.21" - sources."lodash.sortby-4.7.0" - sources."map-age-cleaner-0.1.3" - sources."mathjax-2.7.9" - sources."mathjax-node-2.1.1" - (sources."mathjax-node-sre-3.0.3" // { - dependencies = [ - sources."yargs-12.0.5" - ]; - }) - sources."mem-4.3.0" - sources."mime-db-1.52.0" - sources."mime-types-2.1.35" - sources."mimic-fn-2.1.0" - sources."nice-try-1.0.5" - sources."npm-run-path-2.0.2" - sources."number-is-nan-1.0.1" - sources."nwsapi-2.2.7" - sources."oauth-sign-0.9.0" - sources."once-1.4.0" - sources."optionator-0.8.3" - sources."os-locale-3.1.0" - sources."p-defer-1.0.0" - sources."p-finally-1.0.0" - sources."p-is-promise-2.1.0" - sources."p-limit-2.3.0" - sources."p-locate-3.0.0" - sources."p-try-2.2.0" - sources."parse5-4.0.0" - sources."path-exists-3.0.0" - sources."path-key-2.0.1" - sources."performance-now-2.1.0" - sources."pn-1.1.0" - sources."prelude-ls-1.1.2" - sources."psl-1.9.0" - sources."pump-3.0.0" - sources."punycode-2.3.1" - sources."qs-6.5.3" - sources."request-2.88.2" - sources."request-promise-core-1.1.4" - sources."request-promise-native-1.0.9" - sources."require-directory-2.1.1" - sources."require-main-filename-1.0.1" - sources."safe-buffer-5.2.1" - sources."safer-buffer-2.1.2" - sources."sax-1.3.0" - sources."semver-5.7.2" - sources."set-blocking-2.0.0" - sources."shebang-command-1.2.0" - sources."shebang-regex-1.0.0" - sources."signal-exit-3.0.7" - sources."source-map-0.6.1" - sources."speech-rule-engine-2.4.0" - sources."sshpk-1.18.0" - sources."stealthy-require-1.1.1" - sources."string-width-2.1.1" - sources."strip-ansi-4.0.0" - sources."strip-eof-1.0.0" - sources."symbol-tree-3.2.4" - sources."tough-cookie-2.5.0" - sources."tr46-1.0.1" - sources."tunnel-agent-0.6.0" - sources."tweetnacl-0.14.5" - sources."type-check-0.3.2" - sources."uri-js-4.4.1" - sources."uuid-3.4.0" - sources."verror-1.10.0" - sources."w3c-hr-time-1.0.2" - sources."webidl-conversions-4.0.2" - sources."whatwg-encoding-1.0.5" - sources."whatwg-mimetype-2.3.0" - sources."whatwg-url-6.5.0" - sources."which-1.3.1" - sources."which-module-2.0.1" - sources."wicked-good-xpath-1.3.0" - sources."word-wrap-1.2.5" - (sources."wrap-ansi-2.1.0" // { - dependencies = [ - sources."ansi-regex-2.1.1" - sources."is-fullwidth-code-point-1.0.0" - sources."string-width-1.0.2" - sources."strip-ansi-3.0.1" - ]; - }) - sources."wrappy-1.0.2" - sources."ws-5.2.3" - sources."xml-name-validator-3.0.0" - sources."xmldom-sre-0.1.31" - sources."y18n-4.0.3" - (sources."yargs-17.7.2" // { - dependencies = [ - sources."ansi-regex-5.0.1" - sources."cliui-8.0.1" - sources."get-caller-file-2.0.5" - sources."is-fullwidth-code-point-3.0.0" - sources."string-width-4.2.3" - sources."strip-ansi-6.0.1" - sources."wrap-ansi-7.0.0" - sources."y18n-5.0.8" - sources."yargs-parser-21.1.1" - ]; - }) - sources."yargs-parser-11.1.1" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "CLI tools for calling mathjax-node"; - homepage = "https://github.com/mathjax/mathjax-node-cli#readme"; - license = "Apache-2.0"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; meat = nodeEnv.buildNodePackage { name = "meat"; packageName = "meat"; |