pythonPacakges.clickhouse-driver: init at 0.1.5

This commit is contained in:
Break Yang 2020-12-05 21:29:48 -08:00
parent 21d212d96e
commit 53b2e8a202
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytz
, tzlocal
, clickhouse-cityhash
, zstd
, lz4
, freezegun
, mock
, nose
}:
buildPythonPackage rec {
pname = "clickhouse-driver";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "1827cm5z2zd6mxn9alq54bbzw6vhz4a30a54vacqn7nz691qs1gd";
};
propagatedBuildInputs = [
setuptools
pytz
tzlocal
clickhouse-cityhash
zstd
lz4
];
checkInputs = [
freezegun
mock
nose
];
doCheck = true;
pythonImportsCheck = [ "clickhouse_driver" ];
meta = with lib; {
description = "Python driver with native interface for ClickHouse";
homepage = "https://github.com/mymarilyn/clickhouse-driver";
license = licenses.mit;
maintainers = with maintainers; [ breakds ];
};
}

View File

@ -1217,6 +1217,8 @@ in {
clickhouse-cityhash = callPackage ../development/python-modules/clickhouse-cityhash {}; clickhouse-cityhash = callPackage ../development/python-modules/clickhouse-cityhash {};
clickhouse-driver = callPackage ../development/python-modules/clickhouse-driver {};
cliff = callPackage ../development/python-modules/cliff { }; cliff = callPackage ../development/python-modules/cliff { };
clifford = callPackage ../development/python-modules/clifford { }; clifford = callPackage ../development/python-modules/clifford { };