diff --git a/pkgs/development/php-packages/inotify/default.nix b/pkgs/development/php-packages/inotify/default.nix new file mode 100644 index 000000000000..28270a2510c4 --- /dev/null +++ b/pkgs/development/php-packages/inotify/default.nix @@ -0,0 +1,21 @@ +{ buildPecl +, lib +, stdenv +}: + +buildPecl { + pname = "inotify"; + + version = "3.0.0"; + sha256 = "sha256-xxt4ZEwBFVecx5T1jnhEFEF1HXgEC52dGiI9Ppwtcj0="; + + doCheck = true; + + meta = with lib; { + broken = stdenv.isDarwin; # no inotify support + description = "Inotify bindings for PHP"; + license = licenses.php301; + homepage = "https://github.com/arnaud-lb/php-inotify"; + maintainers = teams.php.members; + }; +} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index ce3af252abc7..870a71e7bf29 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -216,6 +216,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 { };