Skip to content

Commit

Permalink
pythonPackages.cx_oracle: init at 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
y0no authored and Robert Schütz committed Mar 19, 2018
1 parent a15544d commit c936651
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -1435,6 +1435,8 @@ in {

cx_Freeze = callPackage ../development/python-modules/cx_freeze {};

cx_oracle = callPackage ../development/python-modules/cx_oracle {};

cvxopt = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "cvxopt";
Expand Down

0 comments on commit c936651

Please sign in to comment.