chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ph / phpactor / package.nix
blobdbd86adc44cceadc4ffadf95aa6da1b9e674b388
2   lib,
3   fetchFromGitHub,
4   installShellFiles,
5   php,
6 }:
8 php.buildComposerProject2 (finalAttrs: {
9   pname = "phpactor";
10   version = "2024.06.30.0";
12   src = fetchFromGitHub {
13     owner = "phpactor";
14     repo = "phpactor";
15     rev = finalAttrs.version;
16     hash = "sha256-QcKkkgpWWypapQPawK1hu+6tkF9c5ICPeEPWqCwrUBM=";
17   };
19   vendorHash = "sha256-Q72EeGeVqjaOZeW8VAB59OY0E/wvL8Ljq/9XC4iK/rg=";
21   nativeBuildInputs = [ installShellFiles ];
23   postInstall = ''
24     installShellCompletion --cmd phpactor \
25     --bash <(php $out/bin/phpactor completion bash)
26   '';
28   meta = {
29     changelog = "https://github.com/phpactor/phpactor/releases/tag/${finalAttrs.version}";
30     description = "Mainly a PHP Language Server";
31     homepage = "https://github.com/phpactor/phpactor";
32     license = lib.licenses.mit;
33     mainProgram = "phpactor";
34     maintainers = lib.teams.php.members;
35   };