about summary refs log tree commit diff
path: root/pkgs/development/php-packages/phpinsights/default.nix
blob: 621ac9de0b29feb29eb189612488385d7013aca6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  fetchFromGitHub,
  php,
}:

php.buildComposerProject (finalAttrs: {
  pname = "phpinsights";
  version = "2.11.0";

  src = fetchFromGitHub {
    owner = "nunomaduro";
    repo = "phpinsights";
    rev = "v${finalAttrs.version}";
    hash = "sha256-7ATlfAlCFv78JSKg5cD/VcYoq/EAM/6/GjH3lkfVCJ8=";
  };

  vendorHash = "sha256-MOq7xmX8wqDk9W3M2gkejyXXPTcVFFgU0ohmDpL0Tvg=";

  composerLock = ./composer.lock;

  meta = {
    changelog = "https://github.com/nunomaduro/phpinsights/releases/tag/v${finalAttrs.version}";
    description = "Instant PHP quality checks from your console";
    homepage = "https://phpinsights.com/";
    license = lib.licenses.mit;
    mainProgram = "phpinsights";
    maintainers = with lib.maintainers; [ patka ];
  };
})