2021-02-27 10:29:20 +00:00
|
|
|
{ stdenv, buildPecl, lib, unixODBC, libiconv }:
|
2020-10-11 17:55:31 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "sqlsrv";
|
|
|
|
|
2022-01-31 19:51:39 +00:00
|
|
|
version = "5.10.0";
|
|
|
|
sha256 = "sha256-drPwg6Go8QNYHCG6OkbWyiV76uZyjNFYpkpGq1miJrQ=";
|
2020-10-11 17:55:31 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2021-02-27 10:29:20 +00:00
|
|
|
unixODBC
|
|
|
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
2020-10-11 17:55:31 +00:00
|
|
|
|
2021-06-08 09:50:05 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Drivers for PHP for SQL Server";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/Microsoft/msphpsql";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-11 17:55:31 +00:00
|
|
|
}
|