2021-02-27 11:29:20 +01:00
|
|
|
{ stdenv, buildPecl, lib, libiconv, unixODBC, php }:
|
2020-10-11 19:24:04 +02:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "pdo_sqlsrv";
|
|
|
|
|
2021-01-31 00:07:31 +01:00
|
|
|
version = "5.9.0";
|
|
|
|
sha256 = "0n4cnkldvyp1lrpj18ky2ii2dcaa51dsmh8cspixm7w76dxl3khg";
|
2020-10-11 19:24:04 +02:00
|
|
|
|
|
|
|
internalDeps = [ php.extensions.pdo ];
|
|
|
|
|
2021-02-27 11:29:20 +01:00
|
|
|
buildInputs = [ unixODBC ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
2020-10-11 19:24:04 +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:24:04 +02:00
|
|
|
}
|