evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / cx-oracle / default.nix
blobaa52a0695abb908229a931aa146b549ae2bd5d9e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   odpic,
6 }:
8 buildPythonPackage rec {
9   pname = "cx-oracle";
10   version = "8.3.0";
12   buildInputs = [ odpic ];
14   src = fetchPypi {
15     pname = "cx_Oracle";
16     inherit version;
17     sha256 = "3b2d215af4441463c97ea469b9cc307460739f89fdfa8ea222ea3518f1a424d9";
18   };
20   preConfigure = ''
21     export ODPIC_INC_DIR="${odpic}/include"
22     export ODPIC_LIB_DIR="${odpic}/lib"
23   '';
25   # Check need an Oracle database to run
26   doCheck = false;
28   meta = with lib; {
29     description = "Python interface to Oracle";
30     homepage = "https://oracle.github.io/python-cx_Oracle";
31     license = licenses.bsd3;
32     maintainers = with maintainers; [ y0no ];
33   };