Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 30 lines 760 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 php, 5}: 6 7php.buildComposerProject (finalAttrs: { 8 pname = "phpinsights"; 9 version = "2.11.0"; 10 11 src = fetchFromGitHub { 12 owner = "nunomaduro"; 13 repo = "phpinsights"; 14 rev = "v${finalAttrs.version}"; 15 hash = "sha256-7ATlfAlCFv78JSKg5cD/VcYoq/EAM/6/GjH3lkfVCJ8="; 16 }; 17 18 vendorHash = "sha256-MOq7xmX8wqDk9W3M2gkejyXXPTcVFFgU0ohmDpL0Tvg="; 19 20 composerLock = ./composer.lock; 21 22 meta = { 23 changelog = "https://github.com/nunomaduro/phpinsights/releases/tag/v${finalAttrs.version}"; 24 description = "Instant PHP quality checks from your console"; 25 homepage = "https://phpinsights.com/"; 26 license = lib.licenses.mit; 27 mainProgram = "phpinsights"; 28 maintainers = with lib.maintainers; [ patka ]; 29 }; 30})