From 4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 20 Aug 2023 20:58:52 -0700 Subject: [PATCH] web-ext: use buildNpmPackage --- pkgs/development/node-packages/aliases.nix | 1 + .../node-packages/node-packages.json | 1 - .../node-packages/node-packages.nix | 710 ------------------ pkgs/development/tools/web-ext/default.nix | 26 + pkgs/top-level/all-packages.nix | 2 + 5 files changed, 29 insertions(+), 711 deletions(-) create mode 100644 pkgs/development/tools/web-ext/default.nix diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index 470aca6e91a2d..fe6be736697d6 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -75,6 +75,7 @@ mapAliases { inherit (pkgs) ungit; # added 2023-08-20 vscode-langservers-extracted = pkgs.vscode-langservers-extracted; # Added 2023-05-27 vue-cli = self."@vue/cli"; # added 2023-08-18 + inherit (pkgs) web-ext; # added 2023-08-20 inherit (pkgs) yo; # added 2023-08-20 zx = pkgs.zx; # added 2023-08-01 } diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index b1cc41113e2cf..aa920a00b1152 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -358,7 +358,6 @@ , "vscode-json-languageserver-bin" , "vue-language-server" , "wavedrom-cli" -, "web-ext" , "webpack" , "webpack-cli" , "webpack-dev-server" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 071da8dd17111..6d043d46bd2cf 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -139429,716 +139429,6 @@ in bypassCache = true; reconstructLock = true; }; - web-ext = nodeEnv.buildNodePackage { - name = "web-ext"; - packageName = "web-ext"; - version = "7.6.2"; - src = fetchurl { - url = "https://registry.npmjs.org/web-ext/-/web-ext-7.6.2.tgz"; - sha512 = "xlxbzgFBIS/UWWlvWxyR1PIqRRzDj1cutoHh+VZu4ZTcJTfv35KVdKkLRZv4PQwHu4dg8VfTg7WEcNP4QLaaFQ=="; - }; - dependencies = [ - sources."@aashutoshrathi/word-wrap-1.2.6" - (sources."@babel/code-frame-7.22.10" // { - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."escape-string-regexp-1.0.5" - sources."has-flag-3.0.0" - sources."supports-color-5.5.0" - ]; - }) - sources."@babel/helper-validator-identifier-7.22.5" - (sources."@babel/highlight-7.22.10" // { - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."escape-string-regexp-1.0.5" - sources."has-flag-3.0.0" - sources."supports-color-5.5.0" - ]; - }) - sources."@babel/runtime-7.21.0" - sources."@devicefarmer/adbkit-3.2.3" - sources."@devicefarmer/adbkit-logcat-2.1.3" - sources."@devicefarmer/adbkit-monkey-1.2.1" - sources."@eslint-community/eslint-utils-4.4.0" - sources."@eslint-community/regexpp-4.6.2" - (sources."@eslint/eslintrc-2.1.1" // { - dependencies = [ - sources."ajv-6.12.6" - sources."eslint-visitor-keys-3.4.2" - sources."espree-9.6.1" - sources."json-schema-traverse-0.4.1" - sources."strip-json-comments-3.1.1" - ]; - }) - sources."@eslint/js-8.36.0" - sources."@fluent/syntax-0.19.0" - sources."@humanwhocodes/config-array-0.11.10" - sources."@humanwhocodes/module-importer-1.0.1" - sources."@humanwhocodes/object-schema-1.2.1" - sources."@mdn/browser-compat-data-5.2.42" - sources."@nodelib/fs.scandir-2.1.5" - sources."@nodelib/fs.stat-2.0.5" - sources."@nodelib/fs.walk-1.2.8" - sources."@pnpm/config.env-replace-1.1.0" - (sources."@pnpm/network.ca-file-1.0.2" // { - dependencies = [ - sources."graceful-fs-4.2.10" - ]; - }) - sources."@pnpm/npm-conf-2.2.2" - sources."@sindresorhus/is-5.6.0" - sources."@szmarczak/http-timer-5.0.1" - sources."@types/http-cache-semantics-4.0.1" - sources."@types/minimatch-3.0.5" - sources."@types/node-20.4.9" - sources."@types/yauzl-2.10.0" - sources."abort-controller-3.0.0" - sources."accepts-1.3.8" - sources."acorn-8.10.0" - sources."acorn-jsx-5.3.2" - sources."addons-linter-5.32.0" - sources."addons-moz-compare-1.3.0" - (sources."addons-scanner-utils-8.5.0" // { - dependencies = [ - sources."node-fetch-2.6.7" - ]; - }) - sources."adm-zip-0.5.10" - sources."ajv-8.12.0" - (sources."ansi-align-3.0.1" // { - dependencies = [ - sources."string-width-4.2.3" - ]; - }) - sources."ansi-regex-5.0.1" - sources."ansi-styles-4.3.0" - sources."any-promise-1.3.0" - sources."argparse-2.0.1" - sources."array-differ-4.0.0" - sources."array-flatten-1.1.1" - sources."array-union-3.0.1" - sources."asn1-0.2.6" - sources."assert-plus-1.0.0" - sources."async-3.2.4" - sources."asynckit-0.4.0" - sources."at-least-node-1.0.0" - sources."atomic-sleep-1.0.0" - sources."aws-sign2-0.7.0" - sources."aws4-1.12.0" - sources."balanced-match-1.0.2" - sources."base64-js-1.5.1" - sources."bcrypt-pbkdf-1.0.2" - sources."bluebird-3.7.2" - (sources."body-parser-1.20.2" // { - dependencies = [ - sources."debug-2.6.9" - sources."ms-2.0.0" - ]; - }) - sources."boolbase-1.0.0" - (sources."boxen-7.1.1" // { - dependencies = [ - sources."chalk-5.3.0" - sources."type-fest-2.19.0" - ]; - }) - sources."brace-expansion-1.1.11" - sources."buffer-6.0.3" - sources."buffer-alloc-1.2.0" - sources."buffer-alloc-unsafe-1.1.0" - sources."buffer-crc32-0.2.13" - sources."buffer-equal-constant-time-1.0.1" - sources."buffer-fill-1.0.0" - sources."buffer-from-1.1.2" - sources."bufferutil-4.0.7" - sources."bunyan-1.8.15" - sources."bytes-3.1.2" - sources."cacheable-lookup-7.0.0" - (sources."cacheable-request-10.2.13" // { - dependencies = [ - sources."get-stream-6.0.1" - ]; - }) - sources."call-bind-1.0.2" - sources."callsites-3.1.0" - sources."camelcase-7.0.1" - sources."caseless-0.12.0" - sources."chalk-4.1.2" - sources."cheerio-1.0.0-rc.12" - sources."cheerio-select-2.1.0" - sources."chrome-launcher-0.15.1" - sources."ci-info-3.8.0" - sources."cli-boxes-3.0.0" - (sources."cliui-8.0.1" // { - dependencies = [ - sources."string-width-4.2.3" - sources."wrap-ansi-7.0.0" - ]; - }) - sources."clone-1.0.4" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."columnify-1.6.0" - sources."combined-stream-1.0.8" - sources."commander-9.5.0" - sources."common-tags-1.8.2" - sources."concat-map-0.0.1" - (sources."concat-stream-1.6.2" // { - dependencies = [ - sources."readable-stream-2.3.8" - sources."safe-buffer-5.1.2" - sources."string_decoder-1.1.1" - ]; - }) - (sources."config-chain-1.1.13" // { - dependencies = [ - sources."ini-1.3.8" - ]; - }) - sources."configstore-6.0.0" - sources."content-disposition-0.5.4" - sources."content-type-1.0.5" - sources."cookie-0.5.0" - sources."cookie-signature-1.0.6" - sources."core-js-3.29.0" - sources."core-util-is-1.0.3" - sources."cross-spawn-7.0.3" - (sources."crypto-random-string-4.0.0" // { - dependencies = [ - sources."type-fest-1.4.0" - ]; - }) - sources."css-select-5.1.0" - sources."css-what-6.1.0" - sources."dashdash-1.14.1" - sources."data-uri-to-buffer-4.0.1" - sources."debounce-1.2.1" - sources."debug-4.3.4" - sources."decamelize-6.0.0" - (sources."decompress-response-6.0.0" // { - dependencies = [ - sources."mimic-response-3.1.0" - ]; - }) - sources."deep-extend-0.6.0" - sources."deep-is-0.1.4" - sources."deepcopy-2.1.0" - sources."deepmerge-4.3.1" - sources."defaults-1.0.4" - sources."defer-to-connect-2.0.1" - sources."define-lazy-prop-2.0.0" - sources."delayed-stream-1.0.0" - sources."depd-2.0.0" - sources."destroy-1.2.0" - sources."doctrine-3.0.0" - sources."dom-serializer-2.0.0" - sources."domelementtype-2.3.0" - sources."domhandler-5.0.3" - sources."domutils-3.1.0" - sources."dot-prop-6.0.1" - sources."dtrace-provider-0.8.8" - sources."eastasianwidth-0.2.0" - sources."ecc-jsbn-0.1.2" - sources."ecdsa-sig-formatter-1.0.11" - sources."ee-first-1.1.1" - sources."emoji-regex-8.0.0" - sources."encodeurl-1.0.2" - (sources."encoding-0.1.13" // { - dependencies = [ - sources."iconv-lite-0.6.3" - ]; - }) - sources."end-of-stream-1.4.4" - sources."entities-4.5.0" - sources."error-ex-1.3.2" - sources."es6-error-4.1.1" - sources."es6-promisify-7.0.0" - sources."escalade-3.1.1" - sources."escape-goat-4.0.0" - sources."escape-html-1.0.3" - sources."escape-string-regexp-4.0.0" - (sources."eslint-8.36.0" // { - dependencies = [ - sources."ajv-6.12.6" - sources."json-schema-traverse-0.4.1" - sources."strip-json-comments-3.1.1" - ]; - }) - sources."eslint-plugin-no-unsanitized-4.0.2" - sources."eslint-scope-7.2.2" - sources."eslint-visitor-keys-3.3.0" - sources."espree-9.5.0" - sources."esprima-4.0.1" - sources."esquery-1.5.0" - sources."esrecurse-4.3.0" - sources."estraverse-5.3.0" - sources."esutils-2.0.3" - sources."etag-1.8.1" - sources."event-target-shim-5.0.1" - sources."events-3.3.0" - sources."execa-4.1.0" - (sources."express-4.18.2" // { - dependencies = [ - sources."body-parser-1.20.1" - sources."debug-2.6.9" - sources."ms-2.0.0" - sources."raw-body-2.5.1" - ]; - }) - sources."extend-3.0.2" - sources."extsprintf-1.3.0" - sources."fast-deep-equal-3.1.3" - sources."fast-json-patch-3.1.1" - sources."fast-json-stable-stringify-2.1.0" - sources."fast-levenshtein-2.0.6" - sources."fast-redact-3.3.0" - sources."fastq-1.15.0" - sources."fd-slicer-1.1.0" - sources."fetch-blob-3.2.0" - sources."file-entry-cache-6.0.1" - (sources."finalhandler-1.2.0" // { - dependencies = [ - sources."debug-2.6.9" - sources."ms-2.0.0" - ]; - }) - sources."find-up-5.0.0" - (sources."firefox-profile-4.3.2" // { - dependencies = [ - sources."fs-extra-9.0.1" - ]; - }) - sources."first-chunk-stream-3.0.0" - sources."flat-cache-3.0.4" - sources."flatted-3.2.7" - sources."forever-agent-0.6.1" - sources."form-data-2.3.3" - sources."form-data-encoder-2.1.4" - sources."formdata-polyfill-4.0.10" - sources."forwarded-0.2.0" - sources."fresh-0.5.2" - (sources."fs-extra-11.1.0" // { - dependencies = [ - sources."universalify-2.0.0" - ]; - }) - sources."fs.realpath-1.0.0" - sources."function-bind-1.1.1" - (sources."fx-runner-1.3.0" // { - dependencies = [ - sources."commander-2.9.0" - sources."isexe-1.1.2" - sources."which-1.2.4" - ]; - }) - sources."get-caller-file-2.0.5" - sources."get-intrinsic-1.2.1" - sources."get-stream-5.2.0" - sources."getpass-0.1.7" - (sources."glob-9.3.0" // { - dependencies = [ - sources."brace-expansion-2.0.1" - sources."minimatch-7.4.6" - ]; - }) - sources."glob-parent-6.0.2" - sources."glob-to-regexp-0.4.1" - sources."global-dirs-3.0.1" - sources."globals-13.20.0" - (sources."got-12.6.1" // { - dependencies = [ - sources."get-stream-6.0.1" - ]; - }) - sources."graceful-fs-4.2.11" - sources."graceful-readlink-1.0.1" - sources."grapheme-splitter-1.0.4" - sources."growly-1.3.0" - sources."har-schema-2.0.0" - (sources."har-validator-5.1.5" // { - dependencies = [ - sources."ajv-6.12.6" - sources."json-schema-traverse-0.4.1" - ]; - }) - sources."has-1.0.3" - sources."has-flag-4.0.0" - sources."has-proto-1.0.1" - sources."has-symbols-1.0.3" - sources."has-yarn-3.0.0" - sources."htmlparser2-8.0.2" - sources."http-cache-semantics-4.1.1" - sources."http-errors-2.0.0" - sources."http-signature-1.2.0" - sources."http2-wrapper-2.2.0" - sources."human-signals-1.1.1" - sources."iconv-lite-0.4.24" - sources."ieee754-1.2.1" - sources."ignore-5.2.4" - sources."image-size-1.0.2" - sources."immediate-3.0.6" - sources."import-fresh-3.3.0" - sources."import-lazy-4.0.0" - sources."imurmurhash-0.1.4" - sources."inflight-1.0.6" - sources."inherits-2.0.4" - sources."ini-2.0.0" - sources."invert-kv-3.0.1" - sources."ipaddr.js-1.9.1" - sources."is-absolute-0.1.7" - sources."is-arrayish-0.2.1" - sources."is-ci-3.0.1" - sources."is-docker-2.2.1" - sources."is-extglob-2.1.1" - sources."is-fullwidth-code-point-3.0.0" - sources."is-glob-4.0.3" - sources."is-installed-globally-0.4.0" - sources."is-mergeable-object-1.1.1" - sources."is-npm-6.0.0" - sources."is-obj-2.0.0" - sources."is-path-inside-3.0.3" - sources."is-relative-0.1.3" - sources."is-stream-2.0.1" - sources."is-typedarray-1.0.0" - sources."is-utf8-0.2.1" - sources."is-wsl-2.2.0" - sources."is-yarn-global-0.4.1" - sources."isarray-1.0.0" - sources."isexe-2.0.0" - sources."isstream-0.1.2" - sources."jed-1.1.1" - sources."jose-4.13.1" - sources."js-sdsl-4.4.2" - sources."js-tokens-4.0.0" - sources."js-yaml-4.1.0" - sources."jsbn-0.1.1" - sources."json-buffer-3.0.1" - sources."json-merge-patch-1.0.2" - sources."json-parse-even-better-errors-2.3.1" - sources."json-schema-0.4.0" - sources."json-schema-traverse-1.0.0" - sources."json-stable-stringify-without-jsonify-1.0.1" - sources."json-stringify-safe-5.0.1" - (sources."jsonfile-6.1.0" // { - dependencies = [ - sources."universalify-2.0.0" - ]; - }) - sources."jsonwebtoken-9.0.0" - sources."jsprim-1.4.2" - (sources."jszip-3.10.1" // { - dependencies = [ - sources."readable-stream-2.3.8" - sources."safe-buffer-5.1.2" - sources."string_decoder-1.1.1" - ]; - }) - sources."jwa-1.4.1" - sources."jws-3.2.2" - sources."keyv-4.5.3" - sources."latest-version-7.0.0" - sources."lcid-3.1.1" - sources."levn-0.4.1" - sources."lie-3.3.0" - (sources."lighthouse-logger-1.4.2" // { - dependencies = [ - sources."debug-2.6.9" - sources."ms-2.0.0" - ]; - }) - sources."lines-and-columns-2.0.3" - sources."locate-path-6.0.0" - sources."lodash-4.17.21" - sources."lodash.merge-4.6.2" - sources."lowercase-keys-3.0.0" - sources."lru-cache-10.0.0" - sources."make-error-1.3.6" - sources."map-age-cleaner-0.1.3" - sources."marky-1.2.5" - sources."media-typer-0.3.0" - sources."mem-5.1.1" - sources."merge-descriptors-1.0.1" - sources."merge-stream-2.0.0" - sources."methods-1.1.2" - sources."mime-1.6.0" - sources."mime-db-1.52.0" - sources."mime-types-2.1.35" - sources."mimic-fn-2.1.0" - sources."mimic-response-4.0.0" - sources."minimatch-3.1.2" - sources."minimist-1.2.8" - sources."minipass-4.2.8" - sources."mkdirp-1.0.4" - sources."moment-2.29.4" - sources."ms-2.1.2" - sources."multimatch-6.0.0" - (sources."mv-2.1.1" // { - dependencies = [ - sources."glob-6.0.4" - sources."mkdirp-0.5.6" - sources."rimraf-2.4.5" - ]; - }) - sources."mz-2.7.0" - sources."nan-2.17.0" - sources."nanoid-3.3.6" - sources."natural-compare-1.4.0" - sources."ncp-2.0.0" - sources."negotiator-0.6.3" - sources."node-domexception-1.0.0" - sources."node-fetch-3.3.1" - sources."node-forge-1.3.1" - sources."node-gyp-build-4.6.0" - sources."node-notifier-10.0.1" - sources."normalize-url-8.0.0" - sources."npm-run-path-4.0.1" - sources."nth-check-2.1.1" - sources."oauth-sign-0.9.0" - sources."object-assign-4.1.1" - sources."object-inspect-1.12.3" - sources."on-exit-leak-free-2.1.0" - sources."on-finished-2.4.1" - sources."once-1.4.0" - sources."onetime-5.1.2" - sources."open-8.4.2" - sources."optionator-0.9.3" - sources."os-locale-5.0.0" - sources."os-shim-0.1.3" - sources."p-cancelable-3.0.0" - sources."p-defer-1.0.0" - sources."p-is-promise-2.1.0" - sources."p-limit-3.1.0" - sources."p-locate-5.0.0" - sources."package-json-8.1.1" - sources."pako-1.0.11" - sources."parent-module-1.0.1" - sources."parse-json-6.0.2" - sources."parse5-7.1.2" - sources."parse5-htmlparser2-tree-adapter-7.0.0" - sources."parseurl-1.3.3" - sources."path-exists-4.0.0" - sources."path-is-absolute-1.0.1" - sources."path-key-3.1.1" - (sources."path-scurry-1.10.1" // { - dependencies = [ - sources."minipass-7.0.2" - ]; - }) - sources."path-to-regexp-0.1.7" - sources."pend-1.2.0" - sources."performance-now-2.1.0" - sources."picocolors-1.0.0" - sources."pino-8.11.0" - sources."pino-abstract-transport-1.0.0" - sources."pino-std-serializers-6.2.2" - sources."postcss-8.4.21" - sources."prelude-ls-1.2.1" - sources."process-0.11.10" - sources."process-nextick-args-2.0.1" - sources."process-warning-2.2.0" - sources."promise-toolbox-0.21.0" - sources."proto-list-1.2.4" - sources."proxy-addr-2.0.7" - sources."psl-1.9.0" - sources."pump-3.0.0" - sources."punycode-2.3.0" - sources."pupa-3.1.0" - sources."qs-6.11.0" - sources."queue-6.0.2" - sources."queue-microtask-1.2.3" - sources."quick-format-unescaped-4.0.4" - sources."quick-lru-5.1.1" - sources."range-parser-1.2.1" - sources."raw-body-2.5.2" - (sources."rc-1.2.8" // { - dependencies = [ - sources."ini-1.3.8" - sources."strip-json-comments-2.0.1" - ]; - }) - sources."readable-stream-4.4.2" - sources."real-require-0.2.0" - sources."regenerator-runtime-0.13.11" - sources."registry-auth-token-5.0.2" - sources."registry-url-6.0.1" - (sources."relaxed-json-1.0.3" // { - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."commander-2.20.3" - sources."escape-string-regexp-1.0.5" - sources."has-flag-3.0.0" - sources."supports-color-5.5.0" - ]; - }) - (sources."request-2.88.2" // { - dependencies = [ - sources."qs-6.5.3" - sources."uuid-3.4.0" - ]; - }) - sources."require-directory-2.1.1" - sources."require-from-string-2.0.2" - sources."resolve-alpn-1.2.1" - sources."resolve-from-4.0.0" - sources."responselike-3.0.0" - sources."reusify-1.0.4" - (sources."rimraf-3.0.2" // { - dependencies = [ - sources."glob-7.2.3" - ]; - }) - sources."run-parallel-1.2.0" - sources."safe-buffer-5.2.1" - sources."safe-compare-1.1.4" - sources."safe-json-stringify-1.2.0" - sources."safe-stable-stringify-2.4.3" - sources."safer-buffer-2.1.2" - sources."sax-1.2.4" - (sources."semver-7.3.8" // { - dependencies = [ - sources."lru-cache-6.0.0" - ]; - }) - sources."semver-diff-4.0.0" - (sources."send-0.18.0" // { - dependencies = [ - (sources."debug-2.6.9" // { - dependencies = [ - sources."ms-2.0.0" - ]; - }) - sources."ms-2.1.3" - ]; - }) - sources."serve-static-1.15.0" - sources."setimmediate-1.0.5" - sources."setprototypeof-1.2.0" - sources."sha.js-2.4.11" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."shell-quote-1.7.3" - sources."shellwords-0.1.1" - sources."side-channel-1.0.4" - sources."sign-addon-5.3.0" - sources."signal-exit-3.0.7" - sources."sonic-boom-3.3.0" - sources."source-map-0.6.1" - sources."source-map-js-1.0.2" - sources."source-map-support-0.5.21" - sources."spawn-sync-1.0.15" - sources."split-1.0.1" - sources."split2-4.2.0" - sources."sshpk-1.17.0" - sources."statuses-2.0.1" - sources."stream-to-array-2.3.0" - sources."stream-to-promise-3.0.0" - (sources."string-width-5.1.2" // { - dependencies = [ - sources."ansi-regex-6.0.1" - sources."emoji-regex-9.2.2" - sources."strip-ansi-7.1.0" - ]; - }) - sources."string_decoder-1.3.0" - sources."strip-ansi-6.0.1" - sources."strip-bom-5.0.0" - sources."strip-bom-buf-2.0.0" - sources."strip-bom-stream-4.0.0" - sources."strip-final-newline-2.0.0" - sources."strip-json-comments-5.0.0" - sources."supports-color-7.2.0" - sources."text-table-0.2.0" - sources."thenify-3.3.1" - sources."thenify-all-1.6.0" - sources."thread-stream-2.3.0" - sources."through-2.3.8" - sources."tmp-0.2.1" - sources."toidentifier-1.0.1" - sources."tosource-1.0.0" - sources."tough-cookie-2.5.0" - sources."tr46-0.0.3" - sources."tunnel-agent-0.6.0" - sources."tweetnacl-0.14.5" - sources."type-check-0.4.0" - sources."type-detect-4.0.8" - sources."type-fest-0.20.2" - sources."type-is-1.6.18" - sources."typedarray-0.0.6" - sources."typedarray-to-buffer-3.1.5" - sources."unique-string-3.0.0" - sources."universalify-1.0.0" - sources."unpipe-1.0.0" - sources."upath-2.0.1" - (sources."update-notifier-6.0.2" // { - dependencies = [ - sources."chalk-5.3.0" - ]; - }) - sources."uri-js-4.4.1" - sources."utf-8-validate-6.0.3" - sources."util-deprecate-1.0.2" - sources."utils-merge-1.0.1" - sources."uuid-8.3.2" - sources."vary-1.1.2" - (sources."verror-1.10.0" // { - dependencies = [ - sources."core-util-is-1.0.2" - ]; - }) - sources."watchpack-2.4.0" - sources."wcwidth-1.0.1" - sources."web-streams-polyfill-3.2.1" - sources."webidl-conversions-3.0.1" - sources."whatwg-url-5.0.0" - sources."when-3.7.7" - sources."which-2.0.2" - sources."widest-line-4.0.1" - sources."winreg-0.0.12" - (sources."wrap-ansi-8.1.0" // { - dependencies = [ - sources."ansi-regex-6.0.1" - sources."ansi-styles-6.2.1" - sources."strip-ansi-7.1.0" - ]; - }) - sources."wrappy-1.0.2" - sources."write-file-atomic-3.0.3" - sources."ws-8.13.0" - sources."xdg-basedir-5.1.0" - sources."xml2js-0.5.0" - sources."xmlbuilder-11.0.1" - sources."y18n-5.0.8" - sources."yallist-4.0.0" - (sources."yargs-17.7.1" // { - dependencies = [ - sources."string-width-4.2.3" - ]; - }) - sources."yargs-parser-21.1.1" - sources."yauzl-2.10.0" - sources."yocto-queue-0.1.0" - sources."zip-dir-2.0.0" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "A command line tool to help build, run, and test web extensions"; - homepage = "https://github.com/mozilla/web-ext"; - license = "MPL-2.0"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; webpack = nodeEnv.buildNodePackage { name = "webpack"; packageName = "webpack"; diff --git a/pkgs/development/tools/web-ext/default.nix b/pkgs/development/tools/web-ext/default.nix new file mode 100644 index 0000000000000..acadcd94b57f4 --- /dev/null +++ b/pkgs/development/tools/web-ext/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +}: + +buildNpmPackage rec { + pname = "web-ext"; + version = "7.6.2"; + + src = fetchFromGitHub { + owner = "mozilla"; + repo = "web-ext"; + rev = version; + hash = "sha256-tFMngcoHFA3QmR0AK68elUVpli37PsVlcL978o7DQCs="; + }; + + npmDepsHash = "sha256-KPBKUjCxva11w/E+Qhlx+1vikpCL7Hr9MiKenYHEVSU="; + + meta = { + description = "A command line tool to help build, run, and test web extensions"; + homepage = "https://github.com/mozilla/web-ext"; + license = lib.licenses.mpl20; + mainProgram = "web-ext"; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c7015a2c3181a..061138067adac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20371,6 +20371,8 @@ with pkgs; watson-ruby = callPackage ../development/tools/misc/watson-ruby { }; + web-ext = callPackage ../development/tools/web-ext { }; + webdis = callPackage ../development/tools/database/webdis { }; xmake = callPackage ../development/tools/build-managers/xmake {