567e8dfd8e
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>
29 lines
520 B
Nix
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;
|
|
};
|
|
}
|