treewide/php-packages: Drop pkgs from arguments to packages

This commit is contained in:
Elis Hirwing
2021-02-27 11:29:20 +01:00
parent d8fb9d8222
commit 5ad7fb28f6
25 changed files with 90 additions and 91 deletions

View File

@@ -1,4 +1,4 @@
{ buildPecl, lib, pkgs, php }:
{ buildPecl, lib, php, pkg-config, openssl, libevent }:
buildPecl {
pname = "event";
@@ -6,7 +6,7 @@ buildPecl {
sha256 = "1ws4l014z52vb23xbsfj6viwkf7fmh462af639xgbp0n6syf77dq";
configureFlags = [
"--with-event-libevent-dir=${pkgs.libevent.dev}"
"--with-event-libevent-dir=${libevent.dev}"
"--with-event-core"
"--with-event-extra"
"--with-event-pthreads"
@@ -18,11 +18,11 @@ buildPecl {
':'
'';
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = with pkgs; [ openssl libevent ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libevent ];
internalDeps = [ php.extensions.sockets ];
meta = with pkgs.lib; {
meta = with lib; {
description = ''
This is an extension to efficiently schedule I/O, time and signal based
events using the best I/O notification mechanism available for specific platform.