fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / in / intelephense / package.nix
blob21d561e108b07b1cf57cf7016641e6912acb49c3
2   lib,
3   buildNpmPackage,
4   fetchurl,
5   nix-update-script,
6 }:
7 let
8   version = "1.12.6";
9 in
10 buildNpmPackage {
11   pname = "intelephense";
12   inherit version;
14   src = fetchurl {
15     url = "https://registry.npmjs.org/intelephense/-/intelephense-${version}.tgz";
16     hash = "sha256-p2x5Ayipoxk77x0v+zRhg86dbRHuBBk1Iegk/FaZrU4=";
17   };
19   postPatch = ''
20     cp ${./package-lock.json} package-lock.json
21   '';
23   npmDepsHash = "sha256-C60qxPuaiJZ8uQDfDwY+KJUHhXMioPrHnDNJ0bH7N9o=";
25   dontNpmBuild = true;
27   passthru.updateScript = nix-update-script { };
29   meta = {
30     description = "Professional PHP tooling for any Language Server Protocol capable editor";
31     homepage = "https://intelephense.com/";
32     license = lib.licenses.unfree;
33     mainProgram = "intelephense";
34     maintainers = with lib.maintainers; [ patka ];
35   };