2018-02-06 11:33:55 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, oracle-instantclient }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cx_Oracle";
|
2018-05-17 18:40:48 +02:00
|
|
|
version = "6.3.1";
|
2018-02-06 11:33:55 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
oracle-instantclient
|
|
|
|
];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-17 18:40:48 +02:00
|
|
|
sha256 = "0200j6jh80rpgzxmvgcxmkshaj4zadq32g2i97nlwiq3f7q374l7";
|
2018-02-06 11:33:55 +01:00
|
|
|
};
|
|
|
|
|
2018-05-17 18:40:48 +02:00
|
|
|
# Check need an Oracle database to run
|
2018-02-06 11:33:55 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python interface to Oracle";
|
|
|
|
homepage = "https://oracle.github.io/python-cx_Oracle";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = with maintainers; [ y0no ];
|
|
|
|
};
|
|
|
|
}
|