2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
samba,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
2021-02-13 14:23:35 +00:00
|
|
|
buildPecl {
|
|
|
|
pname = "smbclient";
|
2021-03-12 07:09:13 +00:00
|
|
|
version = "1.0.6";
|
|
|
|
sha256 = "sha256-ZsQzdDt6NLRWBsA75om9zkxSvB6zBsvvPhXJZrX/KNc=";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
# TODO: remove this when upstream merges a fix - https://github.com/eduardok/libsmbclient-php/pull/66
|
2021-03-09 03:18:52 +00:00
|
|
|
LIBSMBCLIENT_INCDIR = "${samba.dev}/include/samba-4.0";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ samba ];
|
2021-02-13 14:23:35 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "PHP wrapper for libsmbclient";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
homepage = "https://github.com/eduardok/libsmbclient-php";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2021-02-13 14:23:35 +00:00
|
|
|
}
|