1{ lib
2, buildPythonPackage
3, fetchPypi
4, click
5, prompt-toolkit
6, pygments
7, requests
8, sqlparse
9}:
10
11buildPythonPackage rec {
12 pname = "clickhouse-cli";
13 version = "0.3.9";
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-gkgLAedUtzGv/4P+D56M2Pb5YecyqyVYp06ST62sjdY=";
19 };
20
21 propagatedBuildInputs = [
22 click
23 prompt-toolkit
24 pygments
25 requests
26 sqlparse
27 ];
28
29 pythonImportsCheck = [ "clickhouse_cli" ];
30
31 meta = with lib; {
32 description = "A third-party client for the Clickhouse DBMS server";
33 homepage = "https://github.com/hatarist/clickhouse-cli";
34 license = licenses.mit;
35 maintainers = with maintainers; [ ivan-babrou ];
36 };
37}