Merge pull request #220814 from ostrolucky/msgpack-init

Add phpExtensions{ssh2,msgpack}
This commit is contained in:
Elis Hirwing 2023-03-13 21:55:19 +01:00 committed by GitHub
commit 1cb9f8c001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View File

@ -11297,6 +11297,15 @@
githubId = 111265;
name = "Ozan Sener";
};
ostrolucky = {
email = "gabriel.ostrolucky@gmail.com";
github = "ostrolucky";
githubId = 496233;
name = "Gabriel Ostrolucký";
keys = [{
fingerprint = "6611 22A7 B778 6E4A E99A 9D6E C79A D015 19EF B134";
}];
};
otavio = {
email = "otavio.salvador@ossystems.com.br";
github = "otavio";

View File

@ -0,0 +1,16 @@
{ buildPecl, lib }:
buildPecl rec {
version = "2.2.0RC2";
pname = "msgpack";
sha256 = "sha256-bVV043knbk7rionXqB70RKa1zlJ5K/Nw0oTXZllmJOg=";
meta = with lib; {
changelog = "https://pecl.php.net/package-info.php?package=msgpack&version=${version}";
description = "PHP extension for interfacing with MessagePack";
license = licenses.bsd3;
homepage = "https://github.com/msgpack/msgpack-php";
maintainers = teams.php.members ++ [ maintainers.ostrolucky ];
};
}

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

@ -244,6 +244,8 @@ lib.makeScope pkgs.newScope (self: with self; {
mongodb = callPackage ../development/php-packages/mongodb { };
msgpack = callPackage ../development/php-packages/msgpack { };
oci8 = callPackage ../development/php-packages/oci8 { };
openswoole = callPackage ../development/php-packages/openswoole { };
@ -286,6 +288,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 { };