mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
python3Packages.oracledb: init at 1.2.2
This is the renamed, new major release of cx_Oracle.
This commit is contained in:
parent
e0c0a6c80c
commit
a0c476cbeb
42
pkgs/development/python-modules/oracledb/default.nix
Normal file
42
pkgs/development/python-modules/oracledb/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, cryptography
|
||||
, cython
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oracledb";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3Z9jCE5EZCtISkay/PtPySHzn6z0lKG6sAYo+mQJ9Pw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
];
|
||||
|
||||
doCheck = false; # Checks need an Oracle database
|
||||
|
||||
pythonImportsCheck = [
|
||||
"oracledb"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python driver for Oracle Database";
|
||||
homepage = "https://oracle.github.io/python-oracledb";
|
||||
changelog = "https://github.com/oracle/python-oracledb/blob/v${version}/doc/src/release_notes.rst";
|
||||
license = with licenses; [ asl20 /* and or */ upl ];
|
||||
maintainers = with maintainers; [ harvidsen ];
|
||||
};
|
||||
}
|
@ -6754,6 +6754,8 @@ self: super: with self; {
|
||||
|
||||
opytimark = callPackage ../development/python-modules/opytimark { };
|
||||
|
||||
oracledb = callPackage ../development/python-modules/oracledb { };
|
||||
|
||||
oralb-ble = callPackage ../development/python-modules/oralb-ble { };
|
||||
|
||||
orderedmultidict = callPackage ../development/python-modules/orderedmultidict { };
|
||||
|
Loading…
Reference in New Issue
Block a user