File tree Expand file tree Collapse file tree
pkgs/development/php-packages/psysh Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 fetchurl ,
44 lib ,
55 php ,
6+ versionCheckHook ,
67} :
78
89let
@@ -26,7 +27,6 @@ php.buildComposerProject2 (finalAttrs: {
2627 inherit
2728 pname
2829 version
29- composerLock
3030 src
3131 ;
3232
@@ -45,9 +45,15 @@ php.buildComposerProject2 (finalAttrs: {
4545 composer update --lock --no-install
4646 '' ;
4747
48- vendorHash = "sha256-ODUfR7PsM1YKkEIl4KEAHcY2irqlqMGlpvmEYV1M2jk =" ;
48+ vendorHash = "sha256-8l5bQ+VnLOtPUspMN1f+iXo7LldPTuYqyrAeW2aVoH8 =" ;
4949 } ;
5050
51+ nativeInstallCheckInputs = [
52+ versionCheckHook
53+ ] ;
54+ versionCheckProgramArg = [ "--version" ] ;
55+ doInstallCheck = true ;
56+
5157 meta = {
5258 changelog = "https://github.com/bobthecow/psysh/releases/tag/v${ finalAttrs . version } " ;
5359 description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP" ;
You can’t perform that action at this time.
0 commit comments