The Microsoft JDBC driver is MIT licensed: https://github.com/Microsoft/mssql-jdbc
So while SQL server is unavailable, free client drivers will hopefully begin popping up more and more and will become accessible through e.g. Debian repositories, with time.
Add another to the list. I've had to resort to using hs-odbc who's forced to use freetds, meaning there are weird issues like this:
https://github.com/hdbc/hdbc-odbc/issues/17
I did find one pure haskell mssql implementation and was trying to use it here:
https://github.com/hdbc/hdbc-odbc/issues/17
Oh cool, it looks like it has commits over the past few weeks!