phpExtensions.pdo_sqlsrv: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 19:24:04 +02:00
parent 98bc2f4da6
commit fd6db7224b
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 15 additions and 12 deletions

View File

@ -0,0 +1,14 @@
{ buildPecl, lib, pkgs, php }:
buildPecl {
pname = "pdo_sqlsrv";
version = "5.8.1";
sha256 = "06ba4x34fgs092qq9w62y2afsm1nyasqiprirk4951ax9v5vcir0";
internalDeps = [ php.extensions.pdo ];
buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ];
meta.maintainers = lib.teams.php.members;
}

View File

@ -120,18 +120,7 @@ in
meta.maintainers = lib.teams.php.members;
};
pdo_sqlsrv = buildPecl {
version = "5.8.1";
pname = "pdo_sqlsrv";
sha256 = "06ba4x34fgs092qq9w62y2afsm1nyasqiprirk4951ax9v5vcir0";
internalDeps = [ php.extensions.pdo ];
buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ];
meta.maintainers = lib.teams.php.members;
};
pdo_sqlsrv = callPackage ../development/php-packages/pdo_sqlsrv { };
php_excel = buildPecl rec {
version = "1.0.2";