about summary refs log tree commit diff
path: root/pkgs/development/php-packages/sqlsrv/default.nix
blob: 303f2327d1e5514088672965cd3b2fa2bc2cc62b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  stdenv,
  buildPecl,
  lib,
  unixODBC,
  libiconv,
}:

buildPecl {
  pname = "sqlsrv";

  version = "5.10.1";
  sha256 = "sha256-XNrttNiihjQ+azuZmS2fy0So+2ndAqpde8IOsupeWdI=";

  buildInputs = [ unixODBC ] ++ lib.optionals stdenv.isDarwin [ libiconv ];

  meta = with lib; {
    description = "Microsoft Drivers for PHP for SQL Server";
    license = licenses.mit;
    homepage = "https://github.com/Microsoft/msphpsql";
    maintainers = teams.php.members;
  };
}