Unverified Commit a06de115 authored by Joshua Trees's avatar Joshua Trees Committed by GitHub
Browse files

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: default avatarJoshua Trees <me@jtrees.io>
Co-authored-by: default avatarPol Dellaiera <pol.dellaiera@protonmail.com>
parent d2005e6e
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };