2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
libuv,
|
|
|
|
}:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|