phpPackages.psysh: init at 0.9.6 (#42377)

This commit is contained in:
Claas Augner 2018-06-24 22:01:04 +02:00 committed by xeji
parent 3f32f7ab98
commit 6d58b9b868

View File

@ -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