Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPecl, 3 lib, 4 samba, 5 pkg-config, 6}: 7buildPecl { 8 pname = "smbclient"; 9 version = "1.0.6"; 10 sha256 = "sha256-ZsQzdDt6NLRWBsA75om9zkxSvB6zBsvvPhXJZrX/KNc="; 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}