depot/third_party/nixpkgs/pkgs/development/python-modules/clickhouse-cli/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

37 lines
710 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, click
, prompt-toolkit
, pygments
, requests
, sqlparse
}:
buildPythonPackage rec {
pname = "clickhouse-cli";
version = "0.3.9";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-gkgLAedUtzGv/4P+D56M2Pb5YecyqyVYp06ST62sjdY=";
};
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 ];
};
}