Merge pull request #242134 from NixOS/php/extension-inotify-update
phpExtensions.inotify: update platforms
This commit is contained in:
commit
793abdf061
@ -1,6 +1,5 @@
|
||||
{ buildPecl
|
||||
, lib
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPecl {
|
||||
@ -11,11 +10,11 @@ buildPecl {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin; # no inotify support
|
||||
meta = {
|
||||
description = "Inotify bindings for PHP";
|
||||
license = licenses.php301;
|
||||
homepage = "https://github.com/arnaud-lb/php-inotify";
|
||||
maintainers = teams.php.members;
|
||||
license = lib.licenses.php301;
|
||||
maintainers = lib.teams.php.members;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -204,16 +204,13 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
# or php.withExtensions to extend the functionality of the PHP
|
||||
# interpreter.
|
||||
# The extensions attributes is composed of three sections:
|
||||
# 1. The contrib conditional extensions, which are only available on specific versions or system
|
||||
# 1. The contrib conditional extensions, which are only available on specific PHP versions
|
||||
# 2. The contrib extensions available
|
||||
# 3. The core extensions
|
||||
extensions =
|
||||
# Contrib conditional extensions
|
||||
lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) {
|
||||
blackfire = callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; };
|
||||
} // lib.optionalAttrs (!stdenv.isDarwin) {
|
||||
# Only available on Linux: https://www.php.net/manual/en/inotify.requirements.php
|
||||
inotify = callPackage ../development/php-packages/inotify { };
|
||||
} //
|
||||
# Contrib extensions
|
||||
{
|
||||
@ -239,6 +236,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
|
||||
imagick = callPackage ../development/php-packages/imagick { };
|
||||
|
||||
inotify = callPackage ../development/php-packages/inotify { };
|
||||
|
||||
mailparse = callPackage ../development/php-packages/mailparse { };
|
||||
|
||||
maxminddb = callPackage ../development/php-packages/maxminddb { };
|
||||
|
Loading…
Reference in New Issue
Block a user