phpExtensions.uv: init at 0.3.0 (#238329)

* phpExtensions.uv: init at 0.3.0

* Update pkgs/development/php-packages/uv/default.nix

---------

Co-authored-by: Joshua Trees <me@jtrees.io>
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
Joshua Trees 2023-06-19 23:34:30 +02:00 committed by GitHub
parent d2005e6eb4
commit a06de115e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ buildPecl, lib, fetchFromGitHub, libuv }:
buildPecl rec {
pname = "uv";
version = "0.3.0";
src = fetchFromGitHub {
owner = "amphp";
repo = "ext-uv";
rev = "v${version}";
hash = "sha256-RYb7rszHbdTLfBi66o9hVkFwX+7RlcxH5PAw5frjpFg=";
};
buildInputs = [ libuv ];
meta = with lib; {
description = "Interface to libuv for php";
license = licenses.php301;
homepage = "https://github.com/amphp/ext-uv";
maintainers = teams.php.members;
platforms = platforms.linux;
};
}

View file

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