uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
20
pkgs/development/php-packages/oci8/default.nix
Normal file
20
pkgs/development/php-packages/oci8/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ buildPecl, lib, version, sha256, oracle-instantclient }:
|
||||
buildPecl {
|
||||
pname = "oci8";
|
||||
|
||||
inherit version sha256;
|
||||
|
||||
buildInputs = [ oracle-instantclient ];
|
||||
configureFlags = [ "--with-oci8=shared,instantclient,${oracle-instantclient.lib}/lib" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${oracle-instantclient.dev}/include"|' config.m4
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extension for Oracle Database";
|
||||
license = licenses.php301;
|
||||
homepage = "https://pecl.php.net/package/oci8";
|
||||
maintainers = teams.php.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue