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
28
pkgs/development/python-modules/cx_oracle/default.nix
Normal file
28
pkgs/development/python-modules/cx_oracle/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, odpic }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cx_Oracle";
|
||||
version = "8.3.0";
|
||||
|
||||
buildInputs = [ odpic ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3b2d215af4441463c97ea469b9cc307460739f89fdfa8ea222ea3518f1a424d9";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export ODPIC_INC_DIR="${odpic}/include"
|
||||
export ODPIC_LIB_DIR="${odpic}/lib"
|
||||
'';
|
||||
|
||||
# Check need an Oracle database to run
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface to Oracle";
|
||||
homepage = "https://oracle.github.io/python-cx_Oracle";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue