3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cx_oracle/default.nix

26 lines
607 B
Nix
Raw Normal View History

2018-02-06 10:33:55 +00:00
{ stdenv, buildPythonPackage, fetchPypi, oracle-instantclient }:
buildPythonPackage rec {
pname = "cx_Oracle";
2018-04-04 19:05:32 +01:00
version = "6.2.1";
2018-02-06 10:33:55 +00:00
buildInputs = [
oracle-instantclient
];
src = fetchPypi {
inherit pname version;
2018-04-04 19:05:32 +01:00
sha256 = "01970bc843b3c699a7fd98af19e0401fe69abfbd2acdf464e0bf2ae06ea372b9";
2018-02-06 10:33:55 +00:00
};
# 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 ];
};
}