mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
google-clasp: repackage using buildNpmPackage
This commit is contained in:
parent
eb751d6522
commit
bc79b221ba
@ -36,6 +36,7 @@ in
|
||||
mapAliases {
|
||||
"@antora/cli" = pkgs.antora; # Added 2023-05-06
|
||||
"@githubnext/github-copilot-cli" = pkgs.github-copilot-cli; # Added 2023-05-02
|
||||
"@google/clasp" = pkgs.google-clasp; # Added 2023-05-07
|
||||
"@nestjs/cli" = pkgs.nest-cli; # Added 2023-05-06
|
||||
manta = pkgs.node-manta; # Added 2023-05-06
|
||||
trito = pkgs.triton; # Added 2023-05-06
|
||||
|
@ -20,7 +20,6 @@
|
||||
"@commitlint/cli" = "commitlint";
|
||||
"@forge/cli" = "forge";
|
||||
"@gitbeaker/cli" = "gitbeaker";
|
||||
"@google/clasp" = "clasp";
|
||||
"@medable/mdctl-cli" = "mdctl";
|
||||
"@mermaid-js/mermaid-cli" = "mmdc";
|
||||
"@nerdwallet/shepherd" = "shepherd";
|
||||
|
@ -7,7 +7,6 @@
|
||||
, "@commitlint/config-conventional"
|
||||
, "@emacs-eask/cli"
|
||||
, "@forge/cli"
|
||||
, "@google/clasp"
|
||||
, "@medable/mdctl-cli"
|
||||
, "@microsoft/rush"
|
||||
, "@nerdwallet/shepherd"
|
||||
|
333
pkgs/development/node-packages/node-packages.nix
generated
333
pkgs/development/node-packages/node-packages.nix
generated
@ -88155,339 +88155,6 @@ in
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
"@google/clasp" = nodeEnv.buildNodePackage {
|
||||
name = "_at_google_slash_clasp";
|
||||
packageName = "@google/clasp";
|
||||
version = "2.4.2";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/@google/clasp/-/clasp-2.4.2.tgz";
|
||||
sha512 = "SrHzWSotR8c7mNBVwH81sFCc4HhoDrCevicJehQlvrvgdTvLIiU0Pfb5EYCzWUPBSC4Ez/nvW6wxsgaK7RrPjQ==";
|
||||
};
|
||||
dependencies = [
|
||||
sources."@babel/code-frame-7.21.4"
|
||||
sources."@babel/helper-validator-identifier-7.19.1"
|
||||
(sources."@babel/highlight-7.18.6" // {
|
||||
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."has-flag-3.0.0"
|
||||
sources."supports-color-5.5.0"
|
||||
];
|
||||
})
|
||||
sources."@sindresorhus/is-4.6.0"
|
||||
sources."@szmarczak/http-timer-4.0.6"
|
||||
sources."@types/cacheable-request-6.0.3"
|
||||
sources."@types/http-cache-semantics-4.0.1"
|
||||
sources."@types/keyv-3.1.4"
|
||||
sources."@types/minimatch-3.0.5"
|
||||
sources."@types/node-18.16.3"
|
||||
sources."@types/normalize-package-data-2.4.1"
|
||||
sources."@types/responselike-1.0.0"
|
||||
sources."abort-controller-3.0.0"
|
||||
sources."agent-base-6.0.2"
|
||||
sources."aggregate-error-3.1.0"
|
||||
sources."ansi-escapes-4.3.2"
|
||||
sources."ansi-regex-6.0.1"
|
||||
sources."ansi-styles-4.3.0"
|
||||
sources."anymatch-3.1.3"
|
||||
sources."array-differ-3.0.0"
|
||||
sources."array-find-index-1.0.2"
|
||||
sources."array-union-2.1.0"
|
||||
sources."arrify-2.0.1"
|
||||
sources."balanced-match-1.0.2"
|
||||
sources."base64-js-1.5.1"
|
||||
sources."bignumber.js-9.1.1"
|
||||
sources."binary-extensions-2.2.0"
|
||||
sources."bl-4.1.0"
|
||||
sources."brace-expansion-1.1.11"
|
||||
sources."braces-3.0.2"
|
||||
sources."buffer-5.7.1"
|
||||
sources."buffer-equal-constant-time-1.0.1"
|
||||
sources."cacheable-lookup-5.0.4"
|
||||
sources."cacheable-request-7.0.2"
|
||||
sources."call-bind-1.0.2"
|
||||
sources."chalk-4.1.2"
|
||||
sources."chardet-0.7.0"
|
||||
sources."chokidar-3.5.3"
|
||||
sources."clean-stack-2.2.0"
|
||||
sources."cli-cursor-3.1.0"
|
||||
sources."cli-spinners-2.9.0"
|
||||
sources."cli-truncate-3.1.0"
|
||||
sources."cli-width-3.0.0"
|
||||
sources."clone-1.0.4"
|
||||
sources."clone-response-1.0.3"
|
||||
sources."color-convert-2.0.1"
|
||||
sources."color-name-1.1.4"
|
||||
sources."commander-8.3.0"
|
||||
sources."concat-map-0.0.1"
|
||||
sources."currently-unhandled-0.4.1"
|
||||
sources."debounce-1.2.1"
|
||||
sources."debug-4.3.4"
|
||||
(sources."decompress-response-6.0.0" // {
|
||||
dependencies = [
|
||||
sources."mimic-response-3.1.0"
|
||||
];
|
||||
})
|
||||
sources."defaults-1.0.4"
|
||||
sources."defer-to-connect-2.0.1"
|
||||
sources."define-lazy-prop-2.0.0"
|
||||
sources."dotf-2.0.2"
|
||||
sources."eastasianwidth-0.2.0"
|
||||
sources."ecdsa-sig-formatter-1.0.11"
|
||||
sources."emoji-regex-9.2.2"
|
||||
sources."encoding-0.1.13"
|
||||
sources."end-of-stream-1.4.4"
|
||||
sources."error-ex-1.3.2"
|
||||
sources."escape-string-regexp-1.0.5"
|
||||
sources."event-target-shim-5.0.1"
|
||||
sources."extend-3.0.2"
|
||||
(sources."external-editor-3.1.0" // {
|
||||
dependencies = [
|
||||
sources."iconv-lite-0.4.24"
|
||||
];
|
||||
})
|
||||
sources."fast-text-encoding-1.0.6"
|
||||
sources."figures-3.2.0"
|
||||
sources."fill-range-7.0.1"
|
||||
sources."find-up-6.3.0"
|
||||
sources."fs-extra-10.1.0"
|
||||
sources."fsevents-2.3.2"
|
||||
sources."function-bind-1.1.1"
|
||||
sources."fuzzy-0.1.3"
|
||||
sources."gaxios-4.3.3"
|
||||
sources."gcp-metadata-4.3.1"
|
||||
sources."get-intrinsic-1.2.0"
|
||||
sources."get-stream-5.2.0"
|
||||
sources."glob-parent-5.1.2"
|
||||
sources."google-auth-library-7.14.1"
|
||||
sources."google-p12-pem-3.1.4"
|
||||
sources."googleapis-84.0.0"
|
||||
sources."googleapis-common-5.1.0"
|
||||
sources."got-11.8.6"
|
||||
sources."graceful-fs-4.2.11"
|
||||
sources."gtoken-5.3.2"
|
||||
sources."has-1.0.3"
|
||||
sources."has-flag-4.0.0"
|
||||
sources."has-symbols-1.0.3"
|
||||
sources."hosted-git-info-4.1.0"
|
||||
sources."http-cache-semantics-4.1.1"
|
||||
sources."http2-wrapper-1.0.3"
|
||||
sources."https-proxy-agent-5.0.1"
|
||||
sources."iconv-lite-0.6.3"
|
||||
sources."ieee754-1.2.1"
|
||||
sources."indent-string-4.0.0"
|
||||
sources."inherits-2.0.4"
|
||||
(sources."inquirer-8.2.5" // {
|
||||
dependencies = [
|
||||
sources."ansi-regex-5.0.1"
|
||||
sources."emoji-regex-8.0.0"
|
||||
sources."is-fullwidth-code-point-3.0.0"
|
||||
sources."log-symbols-4.1.0"
|
||||
sources."ora-5.4.1"
|
||||
sources."string-width-4.2.3"
|
||||
sources."strip-ansi-6.0.1"
|
||||
];
|
||||
})
|
||||
(sources."inquirer-autocomplete-prompt-ipt-2.0.0" // {
|
||||
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."has-flag-3.0.0"
|
||||
sources."rxjs-6.6.7"
|
||||
sources."supports-color-5.5.0"
|
||||
sources."tslib-1.14.1"
|
||||
];
|
||||
})
|
||||
sources."is-arrayish-0.2.1"
|
||||
sources."is-binary-path-2.1.0"
|
||||
sources."is-core-module-2.12.0"
|
||||
sources."is-docker-2.2.1"
|
||||
sources."is-extglob-2.1.1"
|
||||
sources."is-fullwidth-code-point-4.0.0"
|
||||
sources."is-glob-4.0.3"
|
||||
sources."is-interactive-1.0.0"
|
||||
sources."is-number-7.0.0"
|
||||
sources."is-port-reachable-3.1.0"
|
||||
sources."is-reachable-5.2.1"
|
||||
sources."is-stream-2.0.1"
|
||||
sources."is-unicode-supported-0.1.0"
|
||||
sources."is-wsl-2.2.0"
|
||||
sources."js-tokens-4.0.0"
|
||||
sources."json-bigint-1.0.0"
|
||||
sources."json-buffer-3.0.1"
|
||||
sources."json-parse-even-better-errors-2.3.1"
|
||||
sources."jsonfile-6.1.0"
|
||||
sources."jwa-2.0.0"
|
||||
sources."jws-4.0.0"
|
||||
sources."keyv-4.5.2"
|
||||
sources."lines-and-columns-1.2.4"
|
||||
sources."locate-path-7.2.0"
|
||||
sources."lodash-4.17.21"
|
||||
(sources."log-symbols-5.1.0" // {
|
||||
dependencies = [
|
||||
sources."chalk-5.2.0"
|
||||
sources."is-unicode-supported-1.3.0"
|
||||
];
|
||||
})
|
||||
sources."loud-rejection-2.2.0"
|
||||
sources."lowercase-keys-2.0.0"
|
||||
sources."lru-cache-6.0.0"
|
||||
sources."make-dir-3.1.0"
|
||||
sources."mimic-fn-2.1.0"
|
||||
sources."mimic-response-1.0.1"
|
||||
sources."minimatch-3.1.2"
|
||||
sources."ms-2.1.2"
|
||||
sources."multimatch-5.0.0"
|
||||
sources."mute-stream-0.0.8"
|
||||
sources."node-fetch-2.6.9"
|
||||
sources."node-forge-1.3.1"
|
||||
sources."normalize-newline-4.1.0"
|
||||
(sources."normalize-package-data-3.0.3" // {
|
||||
dependencies = [
|
||||
sources."semver-7.5.0"
|
||||
];
|
||||
})
|
||||
sources."normalize-path-3.0.0"
|
||||
sources."normalize-url-6.1.0"
|
||||
sources."object-inspect-1.12.3"
|
||||
sources."once-1.4.0"
|
||||
sources."onetime-5.1.2"
|
||||
sources."open-8.4.2"
|
||||
(sources."ora-6.3.0" // {
|
||||
dependencies = [
|
||||
sources."chalk-5.2.0"
|
||||
sources."cli-cursor-4.0.0"
|
||||
sources."is-interactive-2.0.0"
|
||||
sources."is-unicode-supported-1.3.0"
|
||||
sources."restore-cursor-4.0.0"
|
||||
];
|
||||
})
|
||||
sources."os-tmpdir-1.0.2"
|
||||
sources."p-any-3.0.0"
|
||||
sources."p-cancelable-2.1.1"
|
||||
sources."p-finally-1.0.0"
|
||||
sources."p-limit-4.0.0"
|
||||
sources."p-locate-6.0.0"
|
||||
(sources."p-map-5.5.0" // {
|
||||
dependencies = [
|
||||
sources."aggregate-error-4.0.1"
|
||||
sources."clean-stack-4.2.0"
|
||||
sources."escape-string-regexp-5.0.0"
|
||||
sources."indent-string-5.0.0"
|
||||
];
|
||||
})
|
||||
sources."p-some-5.0.0"
|
||||
sources."p-timeout-3.2.0"
|
||||
sources."parse-json-5.2.0"
|
||||
sources."path-exists-5.0.0"
|
||||
sources."picomatch-2.3.1"
|
||||
sources."prepend-http-3.0.1"
|
||||
sources."pump-3.0.0"
|
||||
sources."qs-6.11.1"
|
||||
sources."querystringify-2.2.0"
|
||||
sources."quick-lru-5.1.1"
|
||||
(sources."read-pkg-6.0.0" // {
|
||||
dependencies = [
|
||||
sources."type-fest-1.4.0"
|
||||
];
|
||||
})
|
||||
(sources."read-pkg-up-8.0.0" // {
|
||||
dependencies = [
|
||||
sources."find-up-5.0.0"
|
||||
sources."locate-path-6.0.0"
|
||||
sources."p-limit-3.1.0"
|
||||
sources."p-locate-5.0.0"
|
||||
sources."path-exists-4.0.0"
|
||||
sources."type-fest-1.4.0"
|
||||
sources."yocto-queue-0.1.0"
|
||||
];
|
||||
})
|
||||
sources."readable-stream-3.6.2"
|
||||
sources."readdirp-3.6.0"
|
||||
sources."recursive-readdir-2.2.3"
|
||||
sources."replace-buffer-1.2.1"
|
||||
sources."requires-port-1.0.0"
|
||||
sources."resolve-alpn-1.2.1"
|
||||
sources."responselike-2.0.1"
|
||||
sources."restore-cursor-3.1.0"
|
||||
sources."router-ips-1.0.0"
|
||||
sources."run-async-2.4.1"
|
||||
sources."rxjs-7.8.1"
|
||||
sources."safe-buffer-5.2.1"
|
||||
sources."safer-buffer-2.1.2"
|
||||
sources."semver-6.3.0"
|
||||
sources."server-destroy-1.0.1"
|
||||
sources."side-channel-1.0.4"
|
||||
sources."signal-exit-3.0.7"
|
||||
(sources."slice-ansi-5.0.0" // {
|
||||
dependencies = [
|
||||
sources."ansi-styles-6.2.1"
|
||||
];
|
||||
})
|
||||
sources."spdx-correct-3.2.0"
|
||||
sources."spdx-exceptions-2.3.0"
|
||||
sources."spdx-expression-parse-3.0.1"
|
||||
sources."spdx-license-ids-3.0.13"
|
||||
sources."split-lines-3.0.0"
|
||||
(sources."stdin-discarder-0.1.0" // {
|
||||
dependencies = [
|
||||
sources."bl-5.1.0"
|
||||
sources."buffer-6.0.3"
|
||||
];
|
||||
})
|
||||
sources."string-width-5.1.2"
|
||||
sources."string_decoder-1.3.0"
|
||||
sources."strip-ansi-7.0.1"
|
||||
sources."strip-bom-5.0.0"
|
||||
sources."supports-color-7.2.0"
|
||||
sources."through-2.3.8"
|
||||
sources."tmp-0.0.33"
|
||||
sources."to-regex-range-5.0.1"
|
||||
sources."tr46-0.0.3"
|
||||
(sources."ts2gas-4.2.0" // {
|
||||
dependencies = [
|
||||
sources."type-fest-2.19.0"
|
||||
];
|
||||
})
|
||||
sources."tslib-2.5.0"
|
||||
sources."type-fest-0.21.3"
|
||||
sources."typescript-4.9.5"
|
||||
sources."universalify-2.0.0"
|
||||
sources."url-parse-1.5.10"
|
||||
sources."url-template-2.0.8"
|
||||
sources."util-deprecate-1.0.2"
|
||||
sources."uuid-8.3.2"
|
||||
sources."validate-npm-package-license-3.0.4"
|
||||
sources."wcwidth-1.0.1"
|
||||
sources."webidl-conversions-3.0.1"
|
||||
sources."whatwg-url-5.0.0"
|
||||
(sources."wrap-ansi-7.0.0" // {
|
||||
dependencies = [
|
||||
sources."ansi-regex-5.0.1"
|
||||
sources."emoji-regex-8.0.0"
|
||||
sources."is-fullwidth-code-point-3.0.0"
|
||||
sources."string-width-4.2.3"
|
||||
sources."strip-ansi-6.0.1"
|
||||
];
|
||||
})
|
||||
sources."wrappy-1.0.2"
|
||||
sources."yallist-4.0.0"
|
||||
sources."yocto-queue-1.0.0"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Develop Apps Script Projects locally";
|
||||
homepage = "https://github.com/google/clasp#readme";
|
||||
license = "Apache-2.0";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
"@medable/mdctl-cli" = nodeEnv.buildNodePackage {
|
||||
name = "_at_medable_slash_mdctl-cli";
|
||||
packageName = "@medable/mdctl-cli";
|
||||
|
29
pkgs/development/tools/google-clasp/default.nix
Normal file
29
pkgs/development/tools/google-clasp/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "clasp";
|
||||
version = "2.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "clasp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Cnnqbxjfx7hlRYIDtbjSbDO0QBHqLsleIGrAUQDLaCw=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-4oYpGBpk4WBVnE1HNYmRRGHZgcPgta2YQB00YyWvbiI=";
|
||||
|
||||
# `npm run build` tries installing clasp globally
|
||||
npmBuildScript = [ "compile" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Develop Apps Script Projects locally";
|
||||
homepage = "https://github.com/google/clasp#readme";
|
||||
changelog = "https://github.com/google/clasp/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
@ -8019,7 +8019,7 @@ with pkgs;
|
||||
|
||||
google-fonts = callPackage ../data/fonts/google-fonts { };
|
||||
|
||||
google-clasp = nodePackages."@google/clasp";
|
||||
google-clasp = callPackage ../development/tools/google-clasp { };
|
||||
|
||||
google-compute-engine = with python38.pkgs; toPythonApplication google-compute-engine;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user