Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 buildPecl, 4 lib, 5 unixODBC, 6 libiconv, 7}: 8 9buildPecl { 10 pname = "sqlsrv"; 11 12 version = "5.10.1"; 13 sha256 = "sha256-XNrttNiihjQ+azuZmS2fy0So+2ndAqpde8IOsupeWdI="; 14 15 buildInputs = [ unixODBC ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; 16 17 meta = with lib; { 18 description = "Microsoft Drivers for PHP for SQL Server"; 19 license = licenses.mit; 20 homepage = "https://github.com/Microsoft/msphpsql"; 21 teams = [ teams.php ]; 22 }; 23}