mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
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
|
{ buildPecl
|
||||||
, lib
|
, lib
|
||||||
, stdenv
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPecl {
|
buildPecl {
|
||||||
@ -11,11 +10,11 @@ buildPecl {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
broken = stdenv.isDarwin; # no inotify support
|
|
||||||
description = "Inotify bindings for PHP";
|
description = "Inotify bindings for PHP";
|
||||||
license = licenses.php301;
|
|
||||||
homepage = "https://github.com/arnaud-lb/php-inotify";
|
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
|
# or php.withExtensions to extend the functionality of the PHP
|
||||||
# interpreter.
|
# interpreter.
|
||||||
# The extensions attributes is composed of three sections:
|
# 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
|
# 2. The contrib extensions available
|
||||||
# 3. The core extensions
|
# 3. The core extensions
|
||||||
extensions =
|
extensions =
|
||||||
# Contrib conditional extensions
|
# Contrib conditional extensions
|
||||||
lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) {
|
lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) {
|
||||||
blackfire = callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; };
|
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
|
# Contrib extensions
|
||||||
{
|
{
|
||||||
@ -239,6 +236,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
|
|
||||||
imagick = callPackage ../development/php-packages/imagick { };
|
imagick = callPackage ../development/php-packages/imagick { };
|
||||||
|
|
||||||
|
inotify = callPackage ../development/php-packages/inotify { };
|
||||||
|
|
||||||
mailparse = callPackage ../development/php-packages/mailparse { };
|
mailparse = callPackage ../development/php-packages/mailparse { };
|
||||||
|
|
||||||
maxminddb = callPackage ../development/php-packages/maxminddb { };
|
maxminddb = callPackage ../development/php-packages/maxminddb { };
|
||||||
|
Loading…
Reference in New Issue
Block a user