depot/third_party/nixpkgs/pkgs/development/python-modules/clickhouse-cli/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

36 lines
688 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;
sha256 = "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 ];
};
}