about summary refs log tree commit diff
path: root/pkgs/development/php-packages/sqlsrv/default.nix
blob: 6bbf7cc4f6d10d216d5338f2f09f903f3f0cc7dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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;
  };
}