Michael Daniels 91b553b85d intelephense: update lockfile and dependencies
The lockfile was many versions old.
Now no dependencies have security vulnerabilities.
2025-05-29 15:05:05 -04:00

34 lines
754 B
Nix

{
lib,
buildNpmPackage,
fetchurl,
}:
let
version = "1.14.4";
in
buildNpmPackage {
pname = "intelephense";
inherit version;
src = fetchurl {
url = "https://registry.npmjs.org/intelephense/-/intelephense-${version}.tgz";
hash = "sha256-vFXwkFPmgEbB2RtB0lxT6UaZMxaWXh+3BHCL9+1rRjk=";
};
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
npmDepsHash = "sha256-UFtJRYKk3unStsdoOa6Dwn41KnaDxdWXTNBcIQkZaLI=";
dontNpmBuild = true;
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 ];
};
}