Files
nixpkgs/pkgs/development/php-packages/uv/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

29 lines
520 B
Nix

{
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 = {
description = "Interface to libuv for php";
license = lib.licenses.php301;
homepage = "https://github.com/amphp/ext-uv";
teams = [ lib.teams.php ];
platforms = lib.platforms.linux;
};
}