diff options
Diffstat (limited to 'pkgs/development/php-packages/smbclient')
-rw-r--r-- | pkgs/development/php-packages/smbclient/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/php-packages/smbclient/default.nix b/pkgs/development/php-packages/smbclient/default.nix new file mode 100644 index 00000000000..65cfad9ea3a --- /dev/null +++ b/pkgs/development/php-packages/smbclient/default.nix @@ -0,0 +1,19 @@ +{ buildPecl, lib, samba, pkg-config }: +buildPecl { + pname = "smbclient"; + version = "1.0.6"; + sha256 = "sha256-ZsQzdDt6NLRWBsA75om9zkxSvB6zBsvvPhXJZrX/KNc="; + + # TODO: remove this when upstream merges a fix - https://github.com/eduardok/libsmbclient-php/pull/66 + LIBSMBCLIENT_INCDIR = "${samba.dev}/include/samba-4.0"; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ samba ]; + + meta = with lib; { + description = "PHP wrapper for libsmbclient"; + license = licenses.bsd2; + homepage = "https://github.com/eduardok/libsmbclient-php"; + maintainers = teams.php.members; + }; +} |