phpExtensions.ssh2: init at 1.3.1

This commit is contained in:
Gabriel Ostrolucký 2023-03-12 11:51:11 +01:00
parent b8ad459e85
commit 7953ef015a
No known key found for this signature in database
GPG Key ID: C79AD01519EFB134
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ buildPecl, lib, libssh2 }:
buildPecl rec {
version = "1.3.1";
pname = "ssh2";
sha256 = "sha256-kJOh+NJNxlg2AnsOI5xQ3o1err+DlrwzMf3TjF1pr9k=";
buildInputs = [ libssh2 ];
configureFlags = [ "--with-ssh2=${libssh2.dev}" ];
meta = with lib; {
changelog = "https://pecl.php.net/package-info.php?package=ssh2&version=${version}";
description = "PHP bindings for the libssh2 library";
license = licenses.php301;
homepage = "https://github.com/php/pecl-networking-ssh2";
maintainers = teams.php.members ++ [ maintainers.ostrolucky ];
};
}

View File

@ -286,6 +286,8 @@ lib.makeScope pkgs.newScope (self: with self; {
sqlsrv = callPackage ../development/php-packages/sqlsrv { };
ssh2 = callPackage ../development/php-packages/ssh2 { };
swoole = callPackage ../development/php-packages/swoole { };
xdebug = callPackage ../development/php-packages/xdebug { };