phpPackages.psysh: init at 0.9.6 (#42377)
This commit is contained in:
parent
3f32f7ab98
commit
6d58b9b868
@ -494,4 +494,30 @@ let
|
||||
maintainers = with maintainers; [ cmcdragonkai etu ];
|
||||
};
|
||||
};
|
||||
|
||||
psysh = pkgs.stdenv.mkDerivation rec {
|
||||
name = "psysh-${version}";
|
||||
version = "0.9.6";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/bobthecow/psysh/releases/download/v${version}/psysh-v${version}.tar.gz";
|
||||
sha256 = "06icmyn7v229mpfplqj76kjnp1gh4ns0nrxa7bsckyqhzi425kc6";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
tar -xzf $src -C $out/bin
|
||||
wrapProgram $out/bin/psysh
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP.";
|
||||
license = licenses.mit;
|
||||
homepage = https://psysh.org/;
|
||||
maintainers = with maintainers; [ caugner ];
|
||||
};
|
||||
};
|
||||
}; in self
|
||||
|
Loading…
Reference in New Issue
Block a user