From d2ed3258d1680df6cb2104d5f932922897ea1353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 18 Aug 2023 18:10:39 -0700 Subject: [PATCH] firebase-tools: use buildNpmPackage --- pkgs/development/node-packages/aliases.nix | 1 + .../node-packages/main-programs.nix | 1 - .../node-packages/node-packages.json | 1 - .../node-packages/node-packages.nix | 867 ------------------ pkgs/development/node-packages/overrides.nix | 3 - .../tools/firebase-tools/default.nix | 44 + pkgs/top-level/all-packages.nix | 2 + 7 files changed, 47 insertions(+), 872 deletions(-) create mode 100644 pkgs/development/tools/firebase-tools/default.nix diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index 6ccd9b7e125f4..61bc9b83300f2 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -52,6 +52,7 @@ mapAliases { castnow = pkgs.castnow; # added 2023-07-30 eask = pkgs.eask; # added 2023-08-17 eslint_d = pkgs.eslint_d; # Added 2023-05-26 + inherit (pkgs) firebase-tools; # added 2023-08-18 flood = pkgs.flood; # Added 2023-07-25 gtop = pkgs.gtop; # added 2023-07-31 hueadm = pkgs.hueadm; # added 2023-07-31 diff --git a/pkgs/development/node-packages/main-programs.nix b/pkgs/development/node-packages/main-programs.nix index d9d52c777b45a..7be290096bfab 100644 --- a/pkgs/development/node-packages/main-programs.nix +++ b/pkgs/development/node-packages/main-programs.nix @@ -42,7 +42,6 @@ dockerfile-language-server-nodejs = "docker-langserver"; fast-cli = "fast"; fauna-shell = "fauna"; - firebase-tools = "firebase"; fkill-cli = "fkill"; fleek-cli = "fleek"; git-run = "gr"; diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 3cf0e5e9c6074..79d84509e22db 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -131,7 +131,6 @@ , "expo-cli" , "fast-cli" , "fauna-shell" -, "firebase-tools" , "fixjson" , "fkill-cli" , "fleek-cli" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index cdf9b904fcfea..bd7ef092c0c7a 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -101506,873 +101506,6 @@ in bypassCache = true; reconstructLock = true; }; - firebase-tools = nodeEnv.buildNodePackage { - name = "firebase-tools"; - packageName = "firebase-tools"; - version = "12.4.7"; - src = fetchurl { - url = "https://registry.npmjs.org/firebase-tools/-/firebase-tools-12.4.7.tgz"; - sha512 = "L5nULzh0PElm2OK5lXsj7zkIwBBB4KsGOg0CvCnjdvJ1ROMN2IqffJ0KR/8paXuGWf5SA0VJj2QjG37jFxrAjg=="; - }; - dependencies = [ - (sources."@apidevtools/json-schema-ref-parser-9.1.2" // { - dependencies = [ - sources."js-yaml-4.1.0" - ]; - }) - sources."@babel/parser-7.22.10" - sources."@colors/colors-1.5.0" - sources."@dabh/diagnostics-2.0.3" - sources."@google-cloud/paginator-4.0.1" - sources."@google-cloud/precise-date-3.0.1" - sources."@google-cloud/projectify-3.0.0" - sources."@google-cloud/promisify-2.0.4" - (sources."@google-cloud/pubsub-3.7.3" // { - dependencies = [ - sources."google-auth-library-8.9.0" - ]; - }) - sources."@grpc/grpc-js-1.8.21" - sources."@grpc/proto-loader-0.7.8" - (sources."@isaacs/cliui-8.0.2" // { - dependencies = [ - sources."ansi-regex-6.0.1" - sources."ansi-styles-6.2.1" - sources."emoji-regex-9.2.2" - sources."string-width-5.1.2" - sources."strip-ansi-7.1.0" - sources."wrap-ansi-8.1.0" - ]; - }) - sources."@jsdevtools/ono-7.1.3" - sources."@jsdoc/salty-0.2.5" - sources."@npmcli/fs-3.1.0" - sources."@opentelemetry/api-1.4.1" - sources."@opentelemetry/semantic-conventions-1.3.1" - 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."@protobufjs/aspromise-1.1.2" - sources."@protobufjs/base64-1.1.2" - sources."@protobufjs/codegen-2.0.4" - sources."@protobufjs/eventemitter-1.1.0" - sources."@protobufjs/fetch-1.1.0" - sources."@protobufjs/float-1.0.2" - sources."@protobufjs/inquire-1.1.0" - sources."@protobufjs/path-1.1.2" - sources."@protobufjs/pool-1.1.0" - sources."@protobufjs/utf8-1.1.0" - sources."@tootallnate/once-2.0.0" - sources."@tootallnate/quickjs-emscripten-0.23.0" - sources."@types/duplexify-3.6.1" - sources."@types/glob-8.1.0" - sources."@types/json-schema-7.0.12" - sources."@types/linkify-it-3.0.2" - sources."@types/long-4.0.2" - sources."@types/markdown-it-12.2.3" - sources."@types/mdurl-1.0.2" - sources."@types/minimatch-5.1.2" - sources."@types/node-20.4.9" - sources."@types/rimraf-3.0.2" - sources."@types/triple-beam-1.3.2" - sources."abbrev-1.1.1" - sources."abort-controller-3.0.0" - sources."accepts-1.3.8" - sources."acorn-8.10.0" - sources."acorn-jsx-5.3.2" - sources."agent-base-6.0.2" - sources."agentkeepalive-4.5.0" - sources."aggregate-error-3.1.0" - sources."ajv-6.12.6" - (sources."ajv-formats-2.1.1" // { - dependencies = [ - sources."ajv-8.12.0" - sources."json-schema-traverse-1.0.0" - ]; - }) - sources."ansi-align-3.0.1" - sources."ansi-escapes-4.3.2" - sources."ansi-regex-5.0.1" - sources."ansi-styles-4.3.0" - sources."ansicolors-0.3.2" - sources."anymatch-3.1.3" - sources."aproba-2.0.0" - sources."archiver-5.3.1" - (sources."archiver-utils-2.1.0" // { - dependencies = [ - sources."readable-stream-2.3.8" - sources."safe-buffer-5.1.2" - sources."string_decoder-1.1.1" - ]; - }) - sources."are-we-there-yet-3.0.1" - sources."argparse-2.0.1" - sources."array-flatten-1.1.1" - sources."arrify-2.0.1" - sources."as-array-2.0.0" - sources."asn1-0.2.6" - sources."assert-plus-1.0.0" - sources."ast-types-0.13.4" - sources."async-3.2.4" - sources."async-lock-1.3.2" - sources."asynckit-0.4.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."basic-auth-2.0.1" // { - dependencies = [ - sources."safe-buffer-5.1.2" - ]; - }) - sources."basic-auth-connect-1.0.0" - sources."basic-ftp-5.0.3" - sources."bcrypt-pbkdf-1.0.2" - sources."bignumber.js-9.1.1" - sources."binary-extensions-2.2.0" - sources."bl-4.1.0" - sources."bluebird-3.7.2" - (sources."body-parser-1.20.2" // { - dependencies = [ - sources."debug-2.6.9" - sources."ms-2.0.0" - ]; - }) - (sources."boxen-5.1.2" // { - dependencies = [ - sources."type-fest-0.20.2" - ]; - }) - sources."brace-expansion-2.0.1" - sources."braces-3.0.2" - sources."buffer-5.7.1" - sources."buffer-crc32-0.2.13" - sources."buffer-equal-constant-time-1.0.1" - sources."bufferutil-4.0.7" - sources."bytes-3.1.2" - (sources."cacache-17.1.3" // { - dependencies = [ - sources."glob-10.3.3" - sources."lru-cache-7.18.3" - sources."minimatch-9.0.3" - ]; - }) - sources."call-bind-1.0.2" - sources."call-me-maybe-1.0.2" - sources."camelcase-6.3.0" - sources."cardinal-2.1.1" - sources."caseless-0.12.0" - sources."catharsis-0.9.0" - sources."chalk-4.1.2" - sources."chardet-0.7.0" - sources."chokidar-3.5.3" - sources."chownr-2.0.0" - sources."ci-info-2.0.0" - sources."cjson-0.3.3" - sources."clean-stack-2.2.0" - sources."cli-boxes-2.2.1" - sources."cli-cursor-3.1.0" - sources."cli-spinners-2.9.0" - sources."cli-table-0.3.11" - sources."cli-table3-0.6.3" - sources."cli-width-3.0.0" - sources."cliui-8.0.1" - sources."clone-1.0.4" - (sources."color-3.2.1" // { - dependencies = [ - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - ]; - }) - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."color-string-1.9.1" - sources."color-support-1.1.3" - sources."colorette-2.0.20" - sources."colors-1.0.3" - sources."colorspace-1.1.4" - sources."combined-stream-1.0.8" - sources."commander-4.1.1" - sources."compress-commons-4.1.1" - sources."compressible-2.0.18" - (sources."compression-1.7.4" // { - dependencies = [ - sources."bytes-3.0.0" - sources."debug-2.6.9" - sources."ms-2.0.0" - sources."safe-buffer-5.1.2" - ]; - }) - sources."concat-map-0.0.1" - (sources."config-chain-1.1.13" // { - dependencies = [ - sources."ini-1.3.8" - ]; - }) - sources."configstore-5.0.1" - (sources."connect-3.7.0" // { - dependencies = [ - sources."debug-2.6.9" - sources."finalhandler-1.1.2" - sources."ms-2.0.0" - sources."on-finished-2.3.0" - sources."statuses-1.5.0" - ]; - }) - sources."console-control-strings-1.1.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-util-is-1.0.3" - sources."cors-2.8.5" - sources."crc-32-1.2.2" - sources."crc32-stream-4.0.2" - (sources."cross-env-5.2.1" // { - dependencies = [ - sources."cross-spawn-6.0.5" - sources."semver-5.7.2" - ]; - }) - (sources."cross-spawn-7.0.3" // { - dependencies = [ - sources."path-key-3.1.1" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."which-2.0.2" - ]; - }) - sources."crypto-random-string-2.0.0" - sources."csv-parse-5.4.0" - sources."dashdash-1.14.1" - sources."data-uri-to-buffer-5.0.1" - sources."debug-4.3.4" - sources."deep-extend-0.6.0" - sources."deep-freeze-0.0.1" - sources."deep-is-0.1.4" - sources."defaults-1.0.4" - (sources."degenerator-5.0.1" // { - dependencies = [ - sources."escodegen-2.1.0" - ]; - }) - sources."delayed-stream-1.0.0" - sources."delegates-1.0.0" - sources."depd-2.0.0" - sources."destroy-1.2.0" - sources."dot-prop-5.3.0" - sources."duplexify-4.1.2" - 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."enabled-2.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-2.1.0" - sources."env-paths-2.2.1" - sources."err-code-2.0.3" - sources."escalade-3.1.1" - sources."escape-goat-2.1.1" - sources."escape-html-1.0.3" - sources."escape-string-regexp-2.0.0" - (sources."escodegen-1.14.3" // { - dependencies = [ - sources."estraverse-4.3.0" - ]; - }) - sources."eslint-visitor-keys-3.4.2" - sources."espree-9.6.1" - sources."esprima-4.0.1" - sources."estraverse-5.3.0" - sources."esutils-2.0.3" - sources."etag-1.8.1" - sources."event-target-shim-5.0.1" - sources."events-listener-1.1.0" - (sources."exegesis-4.1.1" // { - dependencies = [ - sources."ajv-8.12.0" - sources."json-schema-traverse-1.0.0" - ]; - }) - sources."exegesis-express-4.0.0" - sources."exponential-backoff-3.1.1" - (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."external-editor-3.1.0" // { - dependencies = [ - sources."tmp-0.0.33" - ]; - }) - 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."fast-text-encoding-1.0.6" - (sources."fast-url-parser-1.1.3" // { - dependencies = [ - sources."punycode-1.4.1" - ]; - }) - sources."fecha-4.2.3" - (sources."figures-3.2.0" // { - dependencies = [ - sources."escape-string-regexp-1.0.5" - ]; - }) - sources."filesize-6.4.0" - sources."fill-range-7.0.1" - (sources."finalhandler-1.2.0" // { - dependencies = [ - sources."debug-2.6.9" - sources."ms-2.0.0" - ]; - }) - sources."fn.name-1.1.0" - (sources."foreground-child-3.1.1" // { - dependencies = [ - sources."signal-exit-4.1.0" - ]; - }) - sources."forever-agent-0.6.1" - sources."form-data-4.0.0" - sources."forwarded-0.2.0" - sources."fresh-0.5.2" - sources."fs-constants-1.0.0" - sources."fs-extra-10.1.0" - sources."fs-minipass-3.0.2" - sources."fs.realpath-1.0.0" - sources."fsevents-2.3.2" - sources."function-bind-1.1.1" - sources."gauge-4.0.4" - sources."gaxios-5.1.3" - sources."gcp-metadata-5.3.0" - sources."get-caller-file-2.0.5" - sources."get-intrinsic-1.2.1" - (sources."get-uri-6.0.1" // { - dependencies = [ - sources."fs-extra-8.1.0" - sources."jsonfile-4.0.0" - sources."universalify-0.1.2" - ]; - }) - sources."getpass-0.1.7" - sources."glob-7.2.3" - sources."glob-parent-5.1.2" - sources."glob-slash-1.0.0" - sources."glob-slasher-1.0.1" - sources."global-dirs-3.0.1" - (sources."google-auth-library-7.14.1" // { - dependencies = [ - sources."gaxios-4.3.3" - sources."gcp-metadata-4.3.1" - sources."google-p12-pem-3.1.4" - sources."gtoken-5.3.2" - ]; - }) - (sources."google-gax-3.6.1" // { - dependencies = [ - sources."google-auth-library-8.9.0" - ]; - }) - sources."google-p12-pem-4.0.1" - sources."graceful-fs-4.2.11" - sources."gtoken-6.1.2" - sources."har-schema-2.0.0" - sources."har-validator-5.1.5" - 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-unicode-2.0.1" - sources."has-yarn-2.1.0" - sources."heap-js-2.3.0" - sources."http-cache-semantics-4.1.1" - sources."http-errors-2.0.0" - (sources."http-proxy-agent-7.0.0" // { - dependencies = [ - sources."agent-base-7.1.0" - ]; - }) - sources."http-signature-1.2.0" - sources."https-proxy-agent-5.0.1" - sources."humanize-ms-1.2.1" - sources."iconv-lite-0.4.24" - sources."ieee754-1.2.1" - sources."import-lazy-2.1.0" - sources."imurmurhash-0.1.4" - sources."indent-string-4.0.0" - sources."inflight-1.0.6" - sources."inherits-2.0.4" - sources."ini-2.0.0" - (sources."inquirer-8.2.6" // { - dependencies = [ - sources."wrap-ansi-6.2.0" - ]; - }) - sources."install-artifact-from-github-1.3.3" - sources."ip-1.1.8" - sources."ip-regex-4.3.0" - sources."ipaddr.js-1.9.1" - sources."is-arrayish-0.3.2" - sources."is-binary-path-2.1.0" - sources."is-ci-2.0.0" - 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-interactive-1.0.0" - sources."is-lambda-1.0.1" - sources."is-npm-5.0.0" - sources."is-number-7.0.0" - sources."is-obj-2.0.0" - sources."is-path-inside-3.0.3" - sources."is-stream-2.0.1" - sources."is-stream-ended-0.1.4" - sources."is-typedarray-1.0.0" - sources."is-unicode-supported-0.1.0" - sources."is-url-1.2.4" - sources."is-wsl-1.1.0" - sources."is-yarn-global-0.3.0" - sources."is2-2.0.9" - sources."isarray-1.0.0" - sources."isexe-2.0.0" - sources."isomorphic-fetch-3.0.0" - sources."isstream-0.1.2" - sources."jackspeak-2.2.3" - sources."jju-1.4.0" - sources."join-path-1.1.1" - (sources."js-yaml-3.14.1" // { - dependencies = [ - sources."argparse-1.0.10" - ]; - }) - sources."js2xmlparser-4.0.2" - sources."jsbn-0.1.1" - sources."jsdoc-4.0.2" - sources."json-bigint-1.0.0" - sources."json-parse-helpfulerror-1.0.3" - sources."json-ptr-3.1.1" - sources."json-schema-0.4.0" - sources."json-schema-traverse-0.4.1" - sources."json-stringify-safe-5.0.1" - sources."jsonfile-6.1.0" - (sources."jsonwebtoken-9.0.1" // { - dependencies = [ - sources."jwa-1.4.1" - sources."jws-3.2.2" - ]; - }) - sources."jsprim-1.4.2" - sources."jwa-2.0.0" - sources."jws-4.0.0" - sources."klaw-3.0.0" - sources."kuler-2.0.0" - (sources."lazystream-1.0.1" // { - dependencies = [ - sources."readable-stream-2.3.8" - sources."safe-buffer-5.1.2" - sources."string_decoder-1.1.1" - ]; - }) - sources."leven-3.1.0" - sources."levn-0.3.0" - sources."libsodium-0.7.11" - sources."libsodium-wrappers-0.7.11" - sources."linkify-it-3.0.3" - sources."lodash-4.17.21" - sources."lodash._objecttypes-2.4.1" - sources."lodash.camelcase-4.3.0" - sources."lodash.defaults-4.2.0" - sources."lodash.difference-4.5.0" - sources."lodash.flatten-4.4.0" - sources."lodash.isobject-2.4.1" - sources."lodash.isplainobject-4.0.6" - sources."lodash.snakecase-4.1.1" - sources."lodash.union-4.6.0" - sources."log-symbols-4.1.0" - sources."logform-2.5.1" - sources."long-4.0.0" - sources."lru-cache-6.0.0" - (sources."make-dir-3.1.0" // { - dependencies = [ - sources."semver-6.3.1" - ]; - }) - (sources."make-fetch-happen-11.1.1" // { - dependencies = [ - sources."http-proxy-agent-5.0.0" - sources."lru-cache-7.18.3" - sources."socks-proxy-agent-7.0.0" - ]; - }) - sources."markdown-it-12.3.2" - sources."markdown-it-anchor-8.6.7" - sources."marked-4.3.0" - (sources."marked-terminal-5.2.0" // { - dependencies = [ - sources."ansi-escapes-6.2.0" - sources."chalk-5.3.0" - sources."type-fest-3.13.1" - ]; - }) - sources."mdurl-1.0.1" - sources."media-typer-0.3.0" - sources."merge-descriptors-1.0.1" - sources."methods-1.1.2" - sources."mime-2.6.0" - sources."mime-db-1.52.0" - sources."mime-types-2.1.35" - sources."mimic-fn-2.1.0" - (sources."minimatch-3.1.2" // { - dependencies = [ - sources."brace-expansion-1.1.11" - ]; - }) - sources."minimist-1.2.8" - sources."minipass-5.0.0" - (sources."minipass-collect-1.0.2" // { - dependencies = [ - sources."minipass-3.3.6" - ]; - }) - sources."minipass-fetch-3.0.3" - (sources."minipass-flush-1.0.5" // { - dependencies = [ - sources."minipass-3.3.6" - ]; - }) - (sources."minipass-pipeline-1.2.4" // { - dependencies = [ - sources."minipass-3.3.6" - ]; - }) - (sources."minipass-sized-1.0.3" // { - dependencies = [ - sources."minipass-3.3.6" - ]; - }) - (sources."minizlib-2.1.2" // { - dependencies = [ - sources."minipass-3.3.6" - ]; - }) - sources."mkdirp-1.0.4" - (sources."morgan-1.10.0" // { - dependencies = [ - sources."debug-2.6.9" - sources."ms-2.0.0" - sources."on-finished-2.3.0" - ]; - }) - sources."ms-2.1.2" - sources."mute-stream-0.0.8" - sources."nan-2.17.0" - sources."negotiator-0.6.3" - sources."netmask-2.0.2" - sources."nice-try-1.0.5" - sources."node-emoji-1.11.0" - sources."node-fetch-2.6.12" - sources."node-forge-1.3.1" - (sources."node-gyp-9.4.0" // { - dependencies = [ - sources."which-2.0.2" - ]; - }) - sources."node-gyp-build-4.6.0" - sources."nopt-6.0.0" - sources."normalize-path-3.0.0" - sources."npmlog-6.0.2" - sources."oauth-sign-0.9.0" - sources."object-assign-4.1.1" - sources."object-hash-3.0.0" - sources."object-inspect-1.12.3" - sources."on-finished-2.4.1" - sources."on-headers-1.0.2" - sources."once-1.4.0" - sources."one-time-1.0.0" - sources."onetime-5.1.2" - sources."open-6.4.0" - sources."openapi3-ts-3.2.0" - sources."optionator-0.8.3" - sources."ora-5.4.1" - sources."os-tmpdir-1.0.2" - sources."p-defer-3.0.0" - sources."p-limit-3.1.0" - sources."p-map-4.0.0" - (sources."pac-proxy-agent-7.0.0" // { - dependencies = [ - sources."agent-base-7.1.0" - sources."https-proxy-agent-7.0.1" - ]; - }) - sources."pac-resolver-7.0.0" - sources."parseurl-1.3.3" - sources."path-is-absolute-1.0.1" - sources."path-key-2.0.1" - (sources."path-scurry-1.10.1" // { - dependencies = [ - sources."lru-cache-10.0.0" - ]; - }) - sources."path-to-regexp-0.1.7" - sources."performance-now-2.1.0" - sources."picomatch-2.3.1" - (sources."portfinder-1.0.32" // { - dependencies = [ - sources."async-2.6.4" - sources."debug-3.2.7" - sources."mkdirp-0.5.6" - ]; - }) - sources."prelude-ls-1.1.2" - sources."process-nextick-args-2.0.1" - sources."progress-2.0.3" - sources."promise-breaker-6.0.0" - (sources."promise-retry-2.0.1" // { - dependencies = [ - sources."retry-0.12.0" - ]; - }) - sources."proto-list-1.2.4" - sources."proto3-json-serializer-1.1.1" - (sources."protobufjs-7.2.4" // { - dependencies = [ - sources."long-5.2.3" - ]; - }) - (sources."protobufjs-cli-1.1.1" // { - dependencies = [ - sources."glob-8.1.0" - sources."minimatch-5.1.6" - ]; - }) - sources."proxy-addr-2.0.7" - (sources."proxy-agent-6.3.0" // { - dependencies = [ - sources."agent-base-7.1.0" - sources."https-proxy-agent-7.0.1" - sources."lru-cache-7.18.3" - ]; - }) - sources."proxy-from-env-1.1.0" - sources."psl-1.9.0" - sources."pump-3.0.0" - sources."punycode-2.3.0" - sources."pupa-2.1.1" - sources."qs-6.11.0" - 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."re2-1.20.1" - sources."readable-stream-3.6.2" - (sources."readdir-glob-1.1.3" // { - dependencies = [ - sources."minimatch-5.1.6" - ]; - }) - sources."readdirp-3.6.0" - sources."redeyed-2.1.1" - sources."registry-auth-token-5.0.2" - sources."registry-url-5.1.0" - (sources."request-2.88.2" // { - dependencies = [ - sources."form-data-2.3.3" - sources."qs-6.5.3" - sources."uuid-3.4.0" - ]; - }) - sources."require-directory-2.1.1" - sources."require-from-string-2.0.2" - sources."requizzle-0.2.4" - sources."restore-cursor-3.1.0" - sources."retry-0.13.1" - sources."retry-request-5.0.2" - sources."rimraf-3.0.2" - (sources."router-1.3.8" // { - dependencies = [ - sources."array-flatten-3.0.0" - sources."debug-2.6.9" - sources."ms-2.0.0" - ]; - }) - sources."run-async-2.4.1" - sources."rxjs-7.8.1" - sources."safe-buffer-5.2.1" - sources."safe-stable-stringify-2.4.3" - sources."safer-buffer-2.1.2" - sources."semver-7.5.4" - (sources."semver-diff-3.1.1" // { - dependencies = [ - sources."semver-6.3.1" - ]; - }) - (sources."send-0.18.0" // { - dependencies = [ - (sources."debug-2.6.9" // { - dependencies = [ - sources."ms-2.0.0" - ]; - }) - sources."mime-1.6.0" - sources."ms-2.1.3" - ]; - }) - sources."serve-static-1.15.0" - sources."set-blocking-2.0.0" - sources."setprototypeof-1.2.0" - sources."shebang-command-1.2.0" - sources."shebang-regex-1.0.0" - sources."side-channel-1.0.4" - sources."signal-exit-3.0.7" - sources."simple-swizzle-0.2.2" - sources."smart-buffer-4.2.0" - (sources."socks-2.7.1" // { - dependencies = [ - sources."ip-2.0.0" - ]; - }) - (sources."socks-proxy-agent-8.0.1" // { - dependencies = [ - sources."agent-base-7.1.0" - ]; - }) - sources."source-map-0.6.1" - sources."sprintf-js-1.0.3" - sources."sshpk-1.17.0" - sources."ssri-10.0.4" - sources."stack-trace-0.0.10" - sources."statuses-2.0.1" - sources."stream-chain-2.2.5" - sources."stream-json-1.8.0" - sources."stream-shift-1.0.1" - sources."string-width-4.2.3" - sources."string-width-cjs-4.2.3" - sources."string_decoder-1.3.0" - sources."strip-ansi-6.0.1" - sources."strip-ansi-cjs-6.0.1" - sources."strip-json-comments-3.1.1" - (sources."superstatic-9.0.3" // { - dependencies = [ - sources."commander-10.0.1" - sources."isarray-0.0.1" - sources."minimatch-6.2.0" - sources."path-to-regexp-1.8.0" - ]; - }) - sources."supports-color-7.2.0" - sources."supports-hyperlinks-2.3.0" - (sources."tar-6.1.15" // { - dependencies = [ - (sources."fs-minipass-2.1.0" // { - dependencies = [ - sources."minipass-3.3.6" - ]; - }) - ]; - }) - sources."tar-stream-2.2.0" - (sources."tcp-port-used-1.0.2" // { - dependencies = [ - sources."debug-4.3.1" - ]; - }) - sources."text-hex-1.0.0" - sources."through-2.3.8" - sources."tmp-0.2.1" - sources."to-regex-range-5.0.1" - sources."toidentifier-1.0.1" - sources."tough-cookie-2.5.0" - sources."toxic-1.0.1" - sources."tr46-0.0.3" - sources."triple-beam-1.4.1" - sources."tslib-2.6.1" - sources."tunnel-agent-0.6.0" - sources."tweetnacl-0.14.5" - sources."type-check-0.3.2" - sources."type-fest-0.21.3" - sources."type-is-1.6.18" - sources."typedarray-to-buffer-3.1.5" - sources."uc.micro-1.0.6" - sources."uglify-js-3.17.4" - sources."underscore-1.13.6" - sources."unique-filename-3.0.0" - sources."unique-slug-4.0.0" - sources."unique-string-2.0.0" - sources."universal-analytics-0.5.3" - sources."universalify-2.0.0" - sources."unpipe-1.0.0" - sources."update-notifier-cjs-5.1.6" - sources."uri-js-4.4.1" - sources."url-join-0.0.1" - sources."utf-8-validate-5.0.10" - sources."util-deprecate-1.0.2" - sources."utils-merge-1.0.1" - sources."uuid-8.3.2" - sources."valid-url-1.0.9" - sources."vary-1.1.2" - (sources."verror-1.10.0" // { - dependencies = [ - sources."core-util-is-1.0.2" - ]; - }) - sources."wcwidth-1.0.1" - sources."webidl-conversions-3.0.1" - sources."whatwg-fetch-3.6.17" - sources."whatwg-url-5.0.0" - sources."which-1.3.1" - sources."wide-align-1.1.5" - sources."widest-line-3.1.0" - sources."winston-3.10.0" - sources."winston-transport-4.5.0" - sources."word-wrap-1.2.5" - sources."wrap-ansi-7.0.0" - sources."wrap-ansi-cjs-7.0.0" - sources."wrappy-1.0.2" - sources."write-file-atomic-3.0.3" - sources."ws-7.5.9" - sources."xdg-basedir-4.0.0" - sources."xmlcreate-2.0.4" - sources."y18n-5.0.8" - sources."yallist-4.0.0" - sources."yaml-2.3.1" - sources."yargs-17.7.2" - sources."yargs-parser-21.1.1" - sources."yocto-queue-0.1.0" - sources."zip-stream-4.1.0" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "Command-Line Interface for Firebase"; - homepage = "https://github.com/firebase/firebase-tools"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; fixjson = nodeEnv.buildNodePackage { name = "fixjson"; packageName = "fixjson"; diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix index c4ddc2a40a591..a147545972129 100644 --- a/pkgs/development/node-packages/overrides.nix +++ b/pkgs/development/node-packages/overrides.nix @@ -136,9 +136,6 @@ final: prev: { ''; }; - firebase-tools = prev.firebase-tools.override { - nativeBuildInputs = lib.optionals stdenv.isDarwin [ pkgs.xcbuild ]; - }; git-ssb = prev.git-ssb.override (oldAttrs: { buildInputs = [ final.node-gyp-build ]; diff --git a/pkgs/development/tools/firebase-tools/default.nix b/pkgs/development/tools/firebase-tools/default.nix new file mode 100644 index 0000000000000..057f9fcea5194 --- /dev/null +++ b/pkgs/development/tools/firebase-tools/default.nix @@ -0,0 +1,44 @@ +{ lib +, stdenv +, buildNpmPackage +, fetchFromGitHub +, python3 +, xcbuild +}: + +buildNpmPackage rec { + pname = "firebase-tools"; + version = "12.4.8"; + + src = fetchFromGitHub { + owner = "firebase"; + repo = "firebase-tools"; + rev = "v${version}"; + hash = "sha256-uyw3M6EWRaiDLZg1MH1weiXih5hWh5Kz3HnB1xXISNA="; + }; + + npmDepsHash = "sha256-AjUREpqQX9+7tjO68Q9WIWQ71l5O641Oc+3Pr2khP4s="; + + postPatch = '' + ln -s npm-shrinkwrap.json package-lock.json + ''; + + nativeBuildInputs = [ + python3 + ] ++ lib.optionals stdenv.isDarwin [ + xcbuild + ]; + + env = { + PUPPETEER_SKIP_DOWNLOAD = true; + }; + + meta = { + changelog = "https://github.com/firebase/firebase-tools/blob/${src.rev}/CHANGELOG.md"; + description = "Manage, and deploy your Firebase project from the command line"; + homepage = "https://github.com/firebase/firebase-tools"; + license = lib.licenses.mit; + mainProgram = "firebase"; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bba95ef0ea613..6b5ed61928263 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19146,6 +19146,8 @@ with pkgs; findnewest = callPackage ../development/tools/misc/findnewest { }; + firebase-tools = callPackage ../development/tools/firebase-tools { }; + flootty = callPackage ../development/tools/flootty { }; fffuu = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage ../tools/misc/fffuu { });