Merge pull request #118862 from bobrik/ivan/clickhouse-cli

clickhouse-cli: init at 0.3.7
This commit is contained in:
lewo 2021-04-14 20:50:22 +02:00 committed by GitHub
commit f8a32f8df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, click
, prompt_toolkit
, pygments
, requests
, sqlparse
}:
buildPythonPackage rec {
pname = "clickhouse-cli";
version = "0.3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fDvUdL6LzgCv6LDmB0R0M7v6BbnbL68p9pHMebP58h8=";
};
propagatedBuildInputs = [
click
prompt_toolkit
pygments
requests
sqlparse
];
pythonImportsCheck = [ "clickhouse_cli" ];
meta = with lib; {
description = "A third-party client for the Clickhouse DBMS server";
homepage = "https://github.com/hatarist/clickhouse-cli";
license = licenses.mit;
maintainers = with maintainers; [ ivan-babrou ];
};
}

@ -18329,6 +18329,8 @@ in
inherit (llvmPackages_10) clang-unwrapped lld lldClang llvm;
};
clickhouse-cli = with python3Packages; toPythonApplication clickhouse-cli;
couchdb = callPackage ../servers/http/couchdb {
sphinx = python27Packages.sphinx;
erlang = erlangR19;

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