2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
php,
|
|
|
|
}:
|
2023-01-11 07:51:40 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
php.buildComposerProject (finalAttrs: {
|
2020-10-16 20:44:37 +00:00
|
|
|
pname = "psysh";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.11.21";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bobthecow";
|
|
|
|
repo = "psysh";
|
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-YuBn4mrgOzGeMGfGcyZySAISmQdv3WRGn91PRozyxdI=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
composerLock = ./composer.lock;
|
|
|
|
vendorHash = "sha256-FZFeO7UiVssxTf0JX6wdjrAE+jucYnfQJA1eOng39lQ=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/bobthecow/psysh/releases/tag/v${finalAttrs.version}";
|
2020-10-16 20:44:37 +00:00
|
|
|
description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP.";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "psysh";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = lib.licenses.mit;
|
2020-10-16 20:44:37 +00:00
|
|
|
homepage = "https://psysh.org/";
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = lib.teams.php.members;
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|