2021-02-27 11:29:20 +01:00
|
|
|
{ stdenv, buildPecl, lib, unixODBC, libiconv }:
|
2020-10-11 19:55:31 +02:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "sqlsrv";
|
|
|
|
|
2022-08-01 07:51:01 +02:00
|
|
|
version = "5.10.1";
|
|
|
|
sha256 = "sha256-XNrttNiihjQ+azuZmS2fy0So+2ndAqpde8IOsupeWdI=";
|
2020-10-11 19:55:31 +02:00
|
|
|
|
|
|
|
buildInputs = [
|
2021-02-27 11:29:20 +01:00
|
|
|
unixODBC
|
|
|
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
2020-10-11 19:55:31 +02:00
|
|
|
|
2021-06-08 11:50:05 +02: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 19:55:31 +02:00
|
|
|
}
|