nixpkgs/pkgs/development/php-packages/smbclient/default.nix
2021-03-09 04:22:41 +00:00

15 lines
437 B
Nix

{ 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.maintainers = lib.teams.php.members;
}