Unverified Commit 67767646 authored by Patka's avatar Patka
Browse files

intelephense: remove from nodePackages

parent 44589e82
Loading
Loading
Loading
Loading
+5687 −0

File added.

Preview size limit exceeded, changes collapsed.

+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildNpmPackage,
  fetchurl,
  nix-update-script,
}:
let
  version = "1.12.5";
in
buildNpmPackage {
  pname = "intelephense";
  inherit version;

  src = fetchurl {
    url = "https://registry.npmjs.org/intelephense/-/intelephense-${version}.tgz";
    hash = "sha256-S2wlzEDSKu/7NxnFMAj25meXzW37fGbH1ztCbWDRAqc=";
  };

  postPatch = ''
    cp ${./package-lock.json} package-lock.json
  '';

  npmDepsHash = "sha256-HpJYDPPX5elvd0SMCJuTu5j4v1caO25UZqywB2huUAA=";

  dontNpmBuild = true;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Professional PHP tooling for any Language Server Protocol capable editor";
    homepage = "https://intelephense.com/";
    license = lib.licenses.unfree;
    mainProgram = "intelephense";
    maintainers = with lib.maintainers; [ patka ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@ mapAliases {
  immich = pkgs.immich-cli; # added 2023-08-19
  indium = throw "indium was removed because it was broken"; # added 2023-08-19
  inliner = throw "inliner was removed because it was abandoned upstream"; # added 2024-08-23
  inherit (pkgs) intelephense; # added 2024-08-31
  ionic = throw "ionic was replaced by @ionic/cli"; # added 2023-08-19
  inherit (pkgs) jake; # added 2023-08-19
  inherit (pkgs) javascript-typescript-langserver; # added 2023-08-19
+0 −1
Original line number Diff line number Diff line
@@ -116,7 +116,6 @@
, "ijavascript"
, "imapnotify"
, "insect"
, "intelephense"
, "joplin"
, "js-beautify"
, "js-yaml"
+0 −332
Original line number Diff line number Diff line
@@ -72305,338 +72305,6 @@ in
    bypassCache = true;
    reconstructLock = true;
  };
  intelephense = nodeEnv.buildNodePackage {
    name = "intelephense";
    packageName = "intelephense";
    version = "1.11.5";
    src = fetchurl {
      url = "https://registry.npmjs.org/intelephense/-/intelephense-1.11.5.tgz";
      sha512 = "3gi/wFkKMENtRrP5Vo/A+/rN/ywyqxtPwRVUMJJFbm2NOlk4eyq4XirbuOH7U9e4P/iBhdCvZrk+AF/HmsnnXw==";
    };
    dependencies = [
      sources."@azure/abort-controller-2.1.2"
      sources."@azure/core-auth-1.7.2"
      (sources."@azure/core-rest-pipeline-1.10.1" // {
        dependencies = [
          sources."@azure/abort-controller-1.1.0"
        ];
      })
      sources."@azure/core-tracing-1.1.2"
      (sources."@azure/core-util-1.2.0" // {
        dependencies = [
          sources."@azure/abort-controller-1.1.0"
        ];
      })
      sources."@azure/logger-1.1.3"
      sources."@azure/opentelemetry-instrumentation-azure-sdk-1.0.0-beta.5"
      sources."@bmewburn/js-beautify-1.15.2"
      sources."@bmewburn/vscode-html-languageserver-1.11.0"
      sources."@isaacs/cliui-8.0.2"
      (sources."@mapbox/node-pre-gyp-1.0.11" // {
        dependencies = [
          sources."abbrev-1.1.1"
          sources."nopt-5.0.0"
        ];
      })
      sources."@microsoft/applicationinsights-web-snippet-1.2.1"
      sources."@mixmark-io/domino-2.2.0"
      sources."@nodelib/fs.scandir-2.1.5"
      sources."@nodelib/fs.stat-2.0.5"
      sources."@nodelib/fs.walk-1.2.8"
      sources."@one-ini/wasm-0.1.1"
      sources."@opentelemetry/api-1.9.0"
      sources."@opentelemetry/core-1.25.1"
      sources."@opentelemetry/instrumentation-0.41.2"
      sources."@opentelemetry/resources-1.25.1"
      sources."@opentelemetry/sdk-trace-base-1.25.1"
      sources."@opentelemetry/semantic-conventions-1.25.1"
      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."@selderee/plugin-htmlparser2-0.11.0"
      sources."@tootallnate/once-2.0.0"
      sources."@tootallnate/quickjs-emscripten-0.23.0"
      sources."@types/node-20.14.12"
      sources."@types/shimmer-1.2.0"
      sources."@vscode/l10n-0.0.18"
      sources."abbrev-2.0.0"
      sources."acorn-8.12.1"
      sources."acorn-import-assertions-1.9.0"
      sources."agent-base-6.0.2"
      sources."ansi-regex-5.0.1"
      sources."ansi-styles-6.2.1"
      sources."applicationinsights-2.7.3"
      sources."applicationinsights-native-metrics-0.0.11"
      sources."aproba-2.0.0"
      sources."are-we-there-yet-2.0.0"
      sources."ast-types-0.13.4"
      sources."async-hook-jl-1.7.6"
      (sources."async-listener-0.6.10" // {
        dependencies = [
          sources."semver-5.7.2"
        ];
      })
      sources."asynckit-0.4.0"
      sources."balanced-match-1.0.2"
      sources."basic-ftp-5.0.5"
      sources."brace-expansion-2.0.1"
      sources."braces-3.0.3"
      sources."chownr-2.0.0"
      sources."cjs-module-lexer-1.3.1"
      (sources."cls-hooked-4.2.2" // {
        dependencies = [
          sources."semver-5.7.2"
        ];
      })
      sources."color-convert-2.0.1"
      sources."color-name-1.1.4"
      sources."color-support-1.1.3"
      sources."combined-stream-1.0.8"
      sources."commander-10.0.1"
      sources."concat-map-0.0.1"
      sources."config-chain-1.1.13"
      sources."console-control-strings-1.1.0"
      sources."continuation-local-storage-3.2.1"
      sources."cross-spawn-7.0.3"
      sources."data-uri-to-buffer-6.0.2"
      sources."debug-4.3.5"
      sources."deepmerge-4.3.1"
      sources."degenerator-5.0.1"
      sources."delayed-stream-1.0.0"
      sources."delegates-1.0.0"
      sources."detect-libc-2.0.3"
      sources."diagnostic-channel-1.1.1"
      sources."diagnostic-channel-publishers-1.0.7"
      sources."dom-serializer-2.0.0"
      sources."domelementtype-2.3.0"
      sources."domhandler-5.0.3"
      sources."domutils-3.1.0"
      sources."eastasianwidth-0.2.0"
      sources."editorconfig-1.0.4"
      sources."emitter-listener-1.1.2"
      sources."emoji-regex-9.2.2"
      sources."encoding-0.1.13"
      sources."entities-4.5.0"
      sources."escodegen-2.1.0"
      sources."esprima-4.0.1"
      sources."estraverse-5.3.0"
      sources."esutils-2.0.3"
      sources."fast-glob-3.3.2"
      sources."fastq-1.17.1"
      sources."fill-range-7.1.1"
      sources."foreground-child-3.2.1"
      sources."form-data-4.0.0"
      sources."fs-extra-11.2.0"
      (sources."fs-minipass-2.1.0" // {
        dependencies = [
          sources."minipass-3.3.6"
        ];
      })
      sources."fs.realpath-1.0.0"
      sources."function-bind-1.1.2"
      (sources."gauge-3.0.2" // {
        dependencies = [
          sources."emoji-regex-8.0.0"
          sources."signal-exit-3.0.7"
          sources."string-width-4.2.3"
          sources."strip-ansi-6.0.1"
        ];
      })
      sources."get-uri-6.0.3"
      (sources."glob-10.4.5" // {
        dependencies = [
          sources."minimatch-9.0.5"
        ];
      })
      sources."glob-parent-5.1.2"
      sources."graceful-fs-4.2.11"
      sources."has-unicode-2.0.1"
      sources."hasown-2.0.2"
      sources."html-to-text-9.0.5"
      sources."htmlparser2-8.0.2"
      sources."http-proxy-agent-5.0.0"
      sources."https-proxy-agent-5.0.1"
      sources."iconv-lite-0.6.3"
      sources."import-in-the-middle-1.4.2"
      sources."inflight-1.0.6"
      sources."inherits-2.0.4"
      sources."ini-1.3.8"
      sources."ip-address-9.0.5"
      sources."is-core-module-2.15.0"
      sources."is-extglob-2.1.1"
      sources."is-fullwidth-code-point-3.0.0"
      sources."is-glob-4.0.3"
      sources."is-number-7.0.0"
      sources."isexe-2.0.0"
      sources."jackspeak-3.4.3"
      sources."js-cookie-3.0.5"
      sources."jsbn-1.1.0"
      sources."jsonfile-6.1.0"
      sources."leac-0.6.0"
      sources."long-5.2.3"
      sources."lru-cache-10.2.2"
      (sources."make-dir-3.1.0" // {
        dependencies = [
          sources."semver-6.3.1"
        ];
      })
      sources."merge2-1.4.1"
      sources."micromatch-4.0.7"
      sources."mime-db-1.52.0"
      sources."mime-types-2.1.35"
      sources."minimatch-9.0.1"
      sources."minipass-7.1.2"
      (sources."minizlib-2.1.2" // {
        dependencies = [
          sources."minipass-3.3.6"
        ];
      })
      sources."mkdirp-1.0.4"
      sources."module-details-from-path-1.0.3"
      sources."ms-2.1.2"
      sources."nan-2.20.0"
      sources."netmask-2.0.2"
      sources."node-fetch-2.7.0"
      sources."nopt-7.2.1"
      sources."npmlog-5.0.1"
      sources."object-assign-4.1.1"
      sources."once-1.4.0"
      (sources."pac-proxy-agent-7.0.2" // {
        dependencies = [
          sources."agent-base-7.1.1"
          sources."http-proxy-agent-7.0.2"
          sources."https-proxy-agent-7.0.5"
        ];
      })
      sources."pac-resolver-7.0.1"
      sources."package-json-from-dist-1.0.0"
      sources."parseley-0.12.1"
      sources."path-is-absolute-1.0.1"
      sources."path-key-3.1.1"
      sources."path-parse-1.0.7"
      sources."path-scurry-1.11.1"
      sources."peberminta-0.9.0"
      sources."picomatch-2.3.1"
      sources."proto-list-1.2.4"
      sources."protobufjs-7.3.2"
      (sources."proxy-agent-6.4.0" // {
        dependencies = [
          sources."agent-base-7.1.1"
          sources."http-proxy-agent-7.0.2"
          sources."https-proxy-agent-7.0.5"
          sources."lru-cache-7.18.3"
        ];
      })
      sources."proxy-from-env-1.1.0"
      sources."queue-microtask-1.2.3"
      sources."readable-stream-3.6.2"
      sources."require-in-the-middle-7.3.0"
      sources."resolve-1.22.8"
      sources."reusify-1.0.4"
      (sources."rimraf-3.0.2" // {
        dependencies = [
          sources."brace-expansion-1.1.11"
          sources."glob-7.2.3"
          sources."minimatch-3.1.2"
        ];
      })
      sources."run-parallel-1.2.0"
      sources."safe-buffer-5.2.1"
      sources."safer-buffer-2.1.2"
      sources."selderee-0.11.0"
      sources."semver-7.6.3"
      sources."set-blocking-2.0.0"
      sources."shebang-command-2.0.0"
      sources."shebang-regex-3.0.0"
      sources."shimmer-1.2.1"
      sources."signal-exit-4.1.0"
      sources."smart-buffer-4.2.0"
      sources."socks-2.8.3"
      (sources."socks-proxy-agent-8.0.4" // {
        dependencies = [
          sources."agent-base-7.1.1"
        ];
      })
      sources."source-map-0.6.1"
      sources."sprintf-js-1.1.3"
      sources."stack-chain-1.3.7"
      sources."string-width-5.1.2"
      (sources."string-width-cjs-4.2.3" // {
        dependencies = [
          sources."emoji-regex-8.0.0"
          sources."strip-ansi-6.0.1"
        ];
      })
      sources."string_decoder-1.3.0"
      (sources."strip-ansi-7.1.0" // {
        dependencies = [
          sources."ansi-regex-6.0.1"
        ];
      })
      sources."strip-ansi-cjs-6.0.1"
      sources."supports-preserve-symlinks-flag-1.0.0"
      (sources."tar-6.2.1" // {
        dependencies = [
          sources."minipass-5.0.0"
        ];
      })
      sources."to-regex-range-5.0.1"
      sources."tr46-0.0.3"
      sources."tslib-2.6.3"
      sources."turndown-7.2.0"
      sources."turndown-plugin-gfm-1.0.2"
      sources."typescript-5.5.4"
      sources."undici-types-5.26.5"
      sources."universalify-2.0.1"
      sources."util-deprecate-1.0.2"
      sources."uuid-8.3.2"
      sources."vscode-css-languageservice-6.3.0"
      sources."vscode-html-languageservice-5.3.0"
      sources."vscode-jsonrpc-8.2.0"
      sources."vscode-languageserver-9.0.1"
      sources."vscode-languageserver-protocol-3.17.5"
      sources."vscode-languageserver-textdocument-1.0.11"
      sources."vscode-languageserver-types-3.17.5"
      sources."vscode-uri-3.0.8"
      sources."webidl-conversions-3.0.1"
      sources."whatwg-url-5.0.0"
      sources."which-2.0.2"
      (sources."wide-align-1.1.5" // {
        dependencies = [
          sources."emoji-regex-8.0.0"
          sources."string-width-4.2.3"
          sources."strip-ansi-6.0.1"
        ];
      })
      sources."wrap-ansi-8.1.0"
      (sources."wrap-ansi-cjs-7.0.0" // {
        dependencies = [
          sources."ansi-styles-4.3.0"
          sources."emoji-regex-8.0.0"
          sources."string-width-4.2.3"
          sources."strip-ansi-6.0.1"
        ];
      })
      sources."wrappy-1.0.2"
      sources."yallist-4.0.0"
    ];
    buildInputs = globalBuildInputs;
    meta = {
      description = "A PHP language server";
      homepage = "https://intelephense.com/";
      license = "SEE LICENSE IN LICENSE.txt";
    };
    production = true;
    bypassCache = true;
    reconstructLock = true;
  };
  joplin = nodeEnv.buildNodePackage {
    name = "joplin";
    packageName = "joplin";
Loading