nixpkgs/pkgs/development/python-modules/cx_oracle/default.nix

26 lines
607 B
Nix
Raw Normal View History

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