2023-05-04 23:08:44 +00:00
|
|
|
pkgs: lib: self: super:
|
|
|
|
|
|
|
|
### Deprecated aliases - for backward compatibility
|
2023-05-08 23:50:00 +00:00
|
|
|
###
|
|
|
|
### !!! NOTE !!!
|
|
|
|
### Use `./remove-attr.py [attrname]` in this directory to remove your alias
|
|
|
|
### from the `nodePackages` set without regenerating the entire file.
|
2023-05-04 23:08:44 +00:00
|
|
|
|
|
|
|
with self;
|
|
|
|
|
|
|
|
let
|
|
|
|
# Removing recurseForDerivation prevents derivations of aliased attribute
|
|
|
|
# set to appear while listing all the packages available.
|
|
|
|
removeRecurseForDerivations = alias: with lib;
|
|
|
|
if alias.recurseForDerivations or false
|
|
|
|
then removeAttrs alias ["recurseForDerivations"]
|
|
|
|
else alias;
|
|
|
|
|
|
|
|
# Disabling distribution prevents top-level aliases for non-recursed package
|
|
|
|
# sets from building on Hydra.
|
|
|
|
removeDistribute = alias: with lib;
|
|
|
|
if isDerivation alias then
|
|
|
|
dontDistribute alias
|
|
|
|
else alias;
|
|
|
|
|
|
|
|
# Make sure that we are not shadowing something from node-packages.nix.
|
|
|
|
checkInPkgs = n: alias:
|
|
|
|
if builtins.hasAttr n super
|
|
|
|
then throw "Alias ${n} is still in node-packages.nix"
|
|
|
|
else alias;
|
|
|
|
|
|
|
|
mapAliases = aliases:
|
|
|
|
lib.mapAttrs (n: alias:
|
|
|
|
removeDistribute
|
|
|
|
(removeRecurseForDerivations
|
|
|
|
(checkInPkgs n alias)))
|
|
|
|
aliases;
|
|
|
|
in
|
|
|
|
|
2023-05-02 18:03:38 +00:00
|
|
|
mapAliases {
|
2023-05-06 15:51:37 +00:00
|
|
|
"@antora/cli" = pkgs.antora; # Added 2023-05-06
|
2023-07-25 17:29:21 +00:00
|
|
|
"@bitwarden/cli" = pkgs.bitwarden-cli; # added 2023-07-25
|
2023-08-17 16:41:05 +00:00
|
|
|
"@emacs-eask/cli" = pkgs.eask; # added 2023-08-17
|
2023-09-20 20:34:02 +00:00
|
|
|
"@forge/cli" = throw "@forge/cli was removed because it was broken"; # added 2023-09-20
|
2023-05-04 23:08:44 +00:00
|
|
|
"@githubnext/github-copilot-cli" = pkgs.github-copilot-cli; # Added 2023-05-02
|
2023-05-04 04:51:18 +00:00
|
|
|
"@google/clasp" = pkgs.google-clasp; # Added 2023-05-07
|
2023-08-17 17:16:05 +00:00
|
|
|
"@maizzle/cli" = pkgs.maizzle; # added 2023-08-17
|
2023-08-21 20:40:30 +00:00
|
|
|
"@medable/mdctl-cli" = throw "@medable/mdctl-cli was removed because it was broken"; # added 2023-08-21
|
2023-10-02 03:43:48 +00:00
|
|
|
"@mermaid-js/mermaid-cli" = pkgs.mermaid-cli; # added 2023-10-01
|
2023-09-30 20:31:02 +00:00
|
|
|
"@nerdwallet/shepherd" = pkgs.shepherd; # added 2023-09-30
|
2023-05-06 15:51:37 +00:00
|
|
|
"@nestjs/cli" = pkgs.nest-cli; # Added 2023-05-06
|
2023-05-13 21:42:00 +00:00
|
|
|
"@zwave-js/server" = pkgs.zwave-js-server; # Added 2023-09-09
|
2023-08-17 20:18:47 +00:00
|
|
|
alloy = pkgs.titanium-alloy; # added 2023-08-17
|
2023-07-31 04:43:01 +00:00
|
|
|
antennas = pkgs.antennas; # added 2023-07-30
|
2023-08-27 02:56:59 +00:00
|
|
|
inherit (pkgs) asar; # added 2023-08-26
|
2023-09-30 19:44:09 +00:00
|
|
|
inherit (pkgs) aws-azure-login; # added 2023-09-30
|
2023-07-31 20:45:22 +00:00
|
|
|
balanceofsatoshis = pkgs.balanceofsatoshis; # added 2023-07-31
|
2023-07-31 05:16:30 +00:00
|
|
|
bibtex-tidy = pkgs.bibtex-tidy; # added 2023-07-30
|
2023-07-25 17:29:21 +00:00
|
|
|
bitwarden-cli = pkgs.bitwarden-cli; # added 2023-07-25
|
2023-08-17 23:25:13 +00:00
|
|
|
inherit (pkgs) btc-rpc-explorer; # added 2023-08-17
|
2023-08-18 04:12:48 +00:00
|
|
|
inherit (pkgs) carbon-now-cli; # added 2023-08-17
|
2023-08-18 04:29:14 +00:00
|
|
|
inherit (pkgs) carto; # added 2023-08-17
|
2023-07-31 05:36:50 +00:00
|
|
|
castnow = pkgs.castnow; # added 2023-07-30
|
2023-08-18 16:14:31 +00:00
|
|
|
inherit (pkgs) clean-css-cli; # added 2023-08-18
|
2023-08-18 16:57:52 +00:00
|
|
|
inherit (pkgs) clubhouse-cli; # added 2023-08-18
|
2023-08-21 19:58:02 +00:00
|
|
|
coc-imselect = throw "coc-imselect was removed because it was broken"; # added 2023-08-21
|
2023-08-18 18:46:17 +00:00
|
|
|
coffee-script = pkgs.coffeescript; # added 2023-08-18
|
2023-08-19 15:41:07 +00:00
|
|
|
inherit (pkgs) configurable-http-proxy; # added 2023-08-19
|
2023-08-18 21:52:41 +00:00
|
|
|
inherit (pkgs) cordova; # added 2023-08-18
|
2023-09-25 19:43:21 +00:00
|
|
|
inherit (pkgs) create-react-app; # added 2023-09-25
|
2023-08-21 19:59:47 +00:00
|
|
|
dat = throw "dat was removed because it was broken"; # added 2023-08-21
|
2023-08-18 23:23:31 +00:00
|
|
|
inherit (pkgs) degit; # added 2023-08-18
|
2023-08-18 23:36:39 +00:00
|
|
|
inherit (pkgs) dockerfile-language-server-nodejs; # added 2023-08-18
|
2023-08-17 16:41:05 +00:00
|
|
|
eask = pkgs.eask; # added 2023-08-17
|
2023-08-19 00:34:58 +00:00
|
|
|
inherit (pkgs.elmPackages) elm-test;
|
2023-05-26 07:54:44 +00:00
|
|
|
eslint_d = pkgs.eslint_d; # Added 2023-05-26
|
2023-08-19 01:10:39 +00:00
|
|
|
inherit (pkgs) firebase-tools; # added 2023-08-18
|
2023-07-25 20:11:30 +00:00
|
|
|
flood = pkgs.flood; # Added 2023-07-25
|
2023-09-24 06:43:15 +00:00
|
|
|
generator-code = throw "generator-code was removed because it provides no executable"; # added 2023-09-24
|
2023-08-21 20:05:50 +00:00
|
|
|
git-ssb = throw "git-ssb was removed because it was broken"; # added 2023-08-21
|
2023-09-24 01:34:51 +00:00
|
|
|
inherit (pkgs) gitmoji-cli; # added 2023-09-23
|
2023-08-19 02:07:44 +00:00
|
|
|
glob = pkgs.node-glob; # added 2023-08-18
|
2023-08-19 16:37:29 +00:00
|
|
|
inherit (pkgs) gqlint; # added 2023-08-19
|
2023-08-19 16:21:39 +00:00
|
|
|
inherit (pkgs) graphqurl; # added 2023-08-19
|
2023-07-31 17:04:30 +00:00
|
|
|
gtop = pkgs.gtop; # added 2023-07-31
|
2023-08-20 21:02:00 +00:00
|
|
|
hs-client = pkgs.hsd; # added 2023-08-20
|
2023-08-19 23:07:23 +00:00
|
|
|
inherit (pkgs) hsd; # added 2023-08-19
|
2023-08-19 16:58:41 +00:00
|
|
|
inherit (pkgs) html-minifier; # added 2023-08-19
|
2023-08-19 22:27:11 +00:00
|
|
|
inherit (pkgs) htmlhint; # added 2023-08-19
|
2023-07-31 19:44:26 +00:00
|
|
|
hueadm = pkgs.hueadm; # added 2023-07-31
|
2023-08-20 01:11:55 +00:00
|
|
|
inherit (pkgs) hyperpotamus; # added 2023-08-19
|
2023-08-20 01:30:11 +00:00
|
|
|
immich = pkgs.immich-cli; # added 2023-08-19
|
2023-08-20 01:35:39 +00:00
|
|
|
indium = throw "indium was removed because it was broken"; # added 2023-08-19
|
2023-08-20 02:01:30 +00:00
|
|
|
ionic = throw "ionic was replaced by @ionic/cli"; # added 2023-08-19
|
2023-08-20 02:12:08 +00:00
|
|
|
inherit (pkgs) jake; # added 2023-08-19
|
2023-08-20 02:23:58 +00:00
|
|
|
inherit (pkgs) javascript-typescript-langserver; # added 2023-08-19
|
2023-07-30 05:08:23 +00:00
|
|
|
karma = pkgs.karma-runner; # added 2023-07-29
|
2023-09-01 04:37:45 +00:00
|
|
|
leetcode-cli = vsc-leetcode-cli; # added 2023-08-31
|
2023-05-05 17:51:54 +00:00
|
|
|
manta = pkgs.node-manta; # Added 2023-05-06
|
2023-07-30 06:38:37 +00:00
|
|
|
markdownlint-cli = pkgs.markdownlint-cli; # added 2023-07-29
|
2023-08-22 18:29:18 +00:00
|
|
|
inherit (pkgs) markdownlint-cli2; # added 2023-08-22
|
2023-11-03 05:15:03 +00:00
|
|
|
inherit (pkgs) mathjax-node-cli; # added 2023-11-02
|
2023-08-21 20:40:30 +00:00
|
|
|
mdctl-cli = self."@medable/mdctl-cli"; # added 2023-08-21
|
2023-10-02 03:43:48 +00:00
|
|
|
inherit (pkgs) mermaid-cli; # added 2023-10-01
|
2023-08-19 20:32:54 +00:00
|
|
|
musescore-downloader = pkgs.dl-librescore; # added 2023-08-19
|
2023-09-10 00:46:09 +00:00
|
|
|
inherit (pkgs) near-cli; # added 2023-09-09
|
2023-08-21 20:07:50 +00:00
|
|
|
node-inspector = throw "node-inspector was removed because it was broken"; # added 2023-08-21
|
2023-08-23 01:38:49 +00:00
|
|
|
inherit (pkgs) npm-check-updates; # added 2023-08-22
|
2023-09-05 03:57:06 +00:00
|
|
|
ocaml-language-server = throw "ocaml-language-server was removed because it was abandoned upstream"; # added 2023-09-04
|
2023-09-05 04:32:52 +00:00
|
|
|
parcel-bundler = parcel; # added 2023-09-04
|
2023-10-05 01:32:18 +00:00
|
|
|
pkg = pkgs.vercel-pkg; # added 2023-10-04
|
2023-09-14 15:16:43 +00:00
|
|
|
prettier_d_slim = pkgs.prettier-d-slim; # added 2023-09-14
|
2023-09-26 17:08:35 +00:00
|
|
|
inherit (pkgs) pxder; # added 2023-09-26
|
2023-09-09 04:20:00 +00:00
|
|
|
inherit (pkgs) quicktype; # added 2023-09-09
|
2023-09-26 05:21:10 +00:00
|
|
|
react-native-cli = throw "react-native-cli was removed because it was deprecated"; # added 2023-09-25
|
2023-08-22 04:29:07 +00:00
|
|
|
inherit (pkgs) react-static; # added 2023-08-21
|
2023-09-26 05:27:54 +00:00
|
|
|
react-tools = throw "react-tools was removed because it was deprecated"; # added 2023-09-25
|
2023-06-12 04:20:00 +00:00
|
|
|
readability-cli = pkgs.readability-cli; # Added 2023-06-12
|
2023-09-13 00:45:51 +00:00
|
|
|
inherit (pkgs) redoc-cli; # added 2023-09-12
|
2023-07-31 16:09:12 +00:00
|
|
|
reveal-md = pkgs.reveal-md; # added 2023-07-31
|
2023-08-30 02:08:21 +00:00
|
|
|
inherit (pkgs) rtlcss; # added 2023-08-29
|
2023-08-18 18:56:26 +00:00
|
|
|
s3http = throw "s3http was removed because it was abandoned upstream"; # added 2023-08-18
|
2023-08-30 22:48:42 +00:00
|
|
|
inherit (pkgs) snyk; # Added 2023-08-30
|
2023-09-03 02:53:38 +00:00
|
|
|
"@squoosh/cli" = throw "@squoosh/cli was removed because it was abandoned upstream"; # added 2023-09-02
|
2023-08-21 18:56:51 +00:00
|
|
|
ssb-server = throw "ssb-server was removed because it was broken"; # added 2023-08-21
|
2023-08-21 18:49:08 +00:00
|
|
|
stf = throw "stf was removed because it was broken"; # added 2023-08-21
|
2023-08-30 23:48:03 +00:00
|
|
|
inherit (pkgs) stylelint; # added 2023-09-13
|
2023-08-30 23:45:16 +00:00
|
|
|
surge = pkgs.surge-cli; # Added 2023-09-08
|
2023-09-09 23:26:19 +00:00
|
|
|
swagger = throw "swagger was removed because it was broken and abandoned upstream"; # added 2023-09-09
|
2023-09-09 23:10:40 +00:00
|
|
|
tedicross = throw "tedicross was removed because it was broken"; # added 2023-09-09
|
2023-08-31 06:23:42 +00:00
|
|
|
inherit (pkgs) terser; # Added 2023-08-31
|
2023-05-22 22:20:22 +00:00
|
|
|
thelounge = pkgs.thelounge; # Added 2023-05-22
|
2023-09-08 22:17:26 +00:00
|
|
|
three = throw "three was removed because it was no longer needed"; # Added 2023-09-08
|
2023-08-17 20:31:45 +00:00
|
|
|
inherit (pkgs) titanium; # added 2023-08-17
|
2023-05-08 12:58:31 +00:00
|
|
|
triton = pkgs.triton; # Added 2023-05-06
|
2023-06-26 18:36:12 +00:00
|
|
|
typescript = pkgs.typescript; # Added 2023-06-21
|
2023-08-21 04:19:20 +00:00
|
|
|
inherit (pkgs) ungit; # added 2023-08-20
|
2023-08-30 20:44:06 +00:00
|
|
|
inherit (pkgs) vsc-leetcode-cli; # Added 2023-08-30
|
2023-05-28 04:06:00 +00:00
|
|
|
vscode-langservers-extracted = pkgs.vscode-langservers-extracted; # Added 2023-05-27
|
2023-08-18 19:08:58 +00:00
|
|
|
vue-cli = self."@vue/cli"; # added 2023-08-18
|
2023-08-21 02:19:48 +00:00
|
|
|
vue-language-server = self.vls; # added 2023-08-20
|
2023-08-21 03:58:52 +00:00
|
|
|
inherit (pkgs) web-ext; # added 2023-08-20
|
2023-08-21 02:34:56 +00:00
|
|
|
inherit (pkgs) write-good; # added 2023-08-20
|
2023-09-05 16:45:20 +00:00
|
|
|
inherit (pkgs) yaml-language-server; # added 2023-09-05
|
2023-08-21 02:45:40 +00:00
|
|
|
inherit (pkgs) yo; # added 2023-08-20
|
2023-07-31 20:29:05 +00:00
|
|
|
zx = pkgs.zx; # added 2023-08-01
|
2023-05-02 18:03:38 +00:00
|
|
|
}
|