mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
phpExtensions.oci8: Move to separate directory
This commit is contained in:
parent
4cae064b2c
commit
1f00056a36
17
pkgs/development/php-packages/oci8/default.nix
Normal file
17
pkgs/development/php-packages/oci8/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ buildPecl, lib, pkgs }:
|
||||
|
||||
buildPecl {
|
||||
pname = "oci8";
|
||||
|
||||
version = "2.2.0";
|
||||
sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd";
|
||||
|
||||
buildInputs = [ pkgs.oracle-instantclient ];
|
||||
configureFlags = [ "--with-oci8=shared,instantclient,${pkgs.oracle-instantclient.lib}/lib" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4
|
||||
'';
|
||||
|
||||
meta.maintainers = lib.teams.php.members;
|
||||
}
|
@ -86,20 +86,7 @@ in
|
||||
|
||||
mongodb = callPackage ../development/php-packages/mongodb { };
|
||||
|
||||
oci8 = buildPecl {
|
||||
version = "2.2.0";
|
||||
pname = "oci8";
|
||||
|
||||
sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd";
|
||||
buildInputs = [ pkgs.oracle-instantclient ];
|
||||
configureFlags = [ "--with-oci8=shared,instantclient,${pkgs.oracle-instantclient.lib}/lib" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4
|
||||
'';
|
||||
|
||||
meta.maintainers = lib.teams.php.members;
|
||||
};
|
||||
oci8 = callPackage ../development/php-packages/oci8 { };
|
||||
|
||||
pcov = buildPecl {
|
||||
version = "1.0.6";
|
||||
|
Loading…
Reference in New Issue
Block a user