587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
29 lines
755 B
Nix
29 lines
755 B
Nix
{ 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-ykAv7laYMvzd+uD6raMRQiZmCEa0ELQj1hJPb8UvjCk=";
|
|
|
|
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 ];
|
|
};
|
|
})
|