Unverified Commit 793abdf0 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #242134 from NixOS/php/extension-inotify-update

phpExtensions.inotify: update platforms
parents af17a11f 2ab8bf1a
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
{ 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;
  };
}
+3 −4
Original line number Diff line number Diff line
@@ -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 { };