Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPecl, lib, samba, pkg-config }: 2buildPecl { 3 pname = "smbclient"; 4 version = "1.0.6"; 5 sha256 = "sha256-ZsQzdDt6NLRWBsA75om9zkxSvB6zBsvvPhXJZrX/KNc="; 6 7 # TODO: remove this when upstream merges a fix - https://github.com/eduardok/libsmbclient-php/pull/66 8 LIBSMBCLIENT_INCDIR = "${samba.dev}/include/samba-4.0"; 9 10 nativeBuildInputs = [ pkg-config ]; 11 buildInputs = [ samba ]; 12 13 meta = with lib; { 14 description = "PHP wrapper for libsmbclient"; 15 license = licenses.bsd2; 16 homepage = "https://github.com/eduardok/libsmbclient-php"; 17 maintainers = teams.php.members; 18 }; 19}