1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 00:49:27 +03:00
nixpkgs/pkgs/development/python-modules/clickhouse-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
688 B
Nix
Raw Normal View History

2021-04-08 15:50:17 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, click
, prompt-toolkit
2021-04-08 15:50:17 -07:00
, pygments
, requests
, sqlparse
}:
buildPythonPackage rec {
pname = "clickhouse-cli";
2022-02-02 18:05:07 +00:00
version = "0.3.8";
2021-04-08 15:50:17 -07:00
src = fetchPypi {
inherit pname version;
2022-02-02 18:05:07 +00:00
sha256 = "sha256-pa3vkIyNblS1LOwBReTqg8JAR2Ii32a2QIHWjau0uZE=";
2021-04-08 15:50:17 -07:00
};
propagatedBuildInputs = [
click
prompt-toolkit
2021-04-08 15:50:17 -07:00
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 ];
};
}