Merge pull request #111515 from aanderse/libsmbclient-php

php.extensions.smbclient: init at 1.0.4
This commit is contained in:
Aaron Andersen 2021-02-09 07:37:54 -05:00 committed by GitHub
commit 159f0efe20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ buildPecl, lib, pkgs }:
buildPecl {
pname = "smbclient";
version = "1.0.4";
sha256 = "07p72m5kbdyp3r1mfxhiayzdvymhc8afwcxa9s86m96sxbmlbbp8";
# TODO: remove this when upstream merges a fix - https://github.com/eduardok/libsmbclient-php/pull/66
LIBSMBCLIENT_INCDIR = "${pkgs.samba.dev}/include/samba-4.0";
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.samba ];
meta.maintainers = lib.teams.php.members;
}

View File

@ -134,6 +134,8 @@ lib.makeScope pkgs.newScope (self: with self; {
redis = callPackage ../development/php-packages/redis { };
smbclient = callPackage ../development/php-packages/smbclient { };
sqlsrv = callPackage ../development/php-packages/sqlsrv { };
v8 = buildPecl {