summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authory0no <yoann.onoditbiot@synhack.fr>2018-02-06 11:33:55 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-19 11:40:57 +0100
commitc9366518fa710258e8f4c3810761b08fabe47caf (patch)
treeb6b7243addc76a32d0965e5e5840a0655d08129a /pkgs/development/python-modules
parenta15544d5f5103c5a6e8bb0fabbe35669b2ede75f (diff)
downloadnixlib-c9366518fa710258e8f4c3810761b08fabe47caf.tar
nixlib-c9366518fa710258e8f4c3810761b08fabe47caf.tar.gz
nixlib-c9366518fa710258e8f4c3810761b08fabe47caf.tar.bz2
nixlib-c9366518fa710258e8f4c3810761b08fabe47caf.tar.lz
nixlib-c9366518fa710258e8f4c3810761b08fabe47caf.tar.xz
nixlib-c9366518fa710258e8f4c3810761b08fabe47caf.tar.zst
nixlib-c9366518fa710258e8f4c3810761b08fabe47caf.zip
pythonPackages.cx_oracle: init at 6.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/cx_oracle/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cx_oracle/default.nix b/pkgs/development/python-modules/cx_oracle/default.nix
new file mode 100644
index 000000000000..e63c4107e091
--- /dev/null
+++ b/pkgs/development/python-modules/cx_oracle/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildPythonPackage, fetchPypi, oracle-instantclient }:
+
+buildPythonPackage rec {
+  pname = "cx_Oracle";
+  version = "6.1";
+
+  buildInputs = [
+    oracle-instantclient
+  ];
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "80545fc7acbdda917dd2b1604c938141256bdfed3ad464a44586c9c2f09c3004";
+  };
+
+  # Check need an Oracle database to run  
+  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 ];
+  };
+}