at master 597 B view raw
1{ 2 buildPecl, 3 lib, 4 samba, 5 pkg-config, 6}: 7buildPecl { 8 pname = "smbclient"; 9 version = "1.1.2"; 10 sha256 = "sha256-Hmp0RWOqxwCBXlca2YsRNahOhA1E5qxnmXSUx4Cpzec="; 11 12 # TODO: remove this when upstream merges a fix - https://github.com/eduardok/libsmbclient-php/pull/66 13 LIBSMBCLIENT_INCDIR = "${samba.dev}/include/samba-4.0"; 14 15 nativeBuildInputs = [ pkg-config ]; 16 buildInputs = [ samba ]; 17 18 meta = with lib; { 19 description = "PHP wrapper for libsmbclient"; 20 license = licenses.bsd2; 21 homepage = "https://github.com/eduardok/libsmbclient-php"; 22 teams = [ teams.php ]; 23 }; 24}