linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / clickhouse-cli / default.nix
blob07ddca0680a14f0643cd2753dc397682fbdbb30a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , click
5 , prompt_toolkit
6 , pygments
7 , requests
8 , sqlparse
9 }:
11 buildPythonPackage rec {
12   pname = "clickhouse-cli";
13   version = "0.3.7";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "sha256-fDvUdL6LzgCv6LDmB0R0M7v6BbnbL68p9pHMebP58h8=";
18   };
20   propagatedBuildInputs = [
21     click
22     prompt_toolkit
23     pygments
24     requests
25     sqlparse
26   ];
28   pythonImportsCheck = [ "clickhouse_cli" ];
30   meta = with lib; {
31     description = "A third-party client for the Clickhouse DBMS server";
32     homepage = "https://github.com/hatarist/clickhouse-cli";
33     license = licenses.mit;
34     maintainers = with maintainers; [ ivan-babrou ];
35   };