83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
36 lines
686 B
Nix
36 lines
686 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, click
|
|
, prompt-toolkit
|
|
, pygments
|
|
, requests
|
|
, sqlparse
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "clickhouse-cli";
|
|
version = "0.3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-pa3vkIyNblS1LOwBReTqg8JAR2Ii32a2QIHWjau0uZE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|