electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / li / litecli / package.nix
blobcece9764e1b5b0993294c9591e6b3cbc8ad773c7
2   lib,
3   python3Packages,
4   fetchFromGitHub,
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "litecli";
9   version = "1.12.3";
11   pyproject = true;
13   src = fetchFromGitHub {
14     owner = "dbcli";
15     repo = "litecli";
16     rev = "v${version}";
17     hash = "sha256-TPwzXfb4n6wTe6raQ5IowKdhGkKrf2pmSS2+Q03NKYk=";
18   };
20   dependencies =
21     with python3Packages;
22     [
23       cli-helpers
24       click
25       configobj
26       prompt-toolkit
27       pygments
28       sqlparse
29     ]
30     ++ cli-helpers.optional-dependencies.styles;
32   build-system = with python3Packages; [
33     setuptools
34   ];
36   nativeCheckInputs = with python3Packages; [
37     pytestCheckHook
38     mock
39   ];
41   pythonImportsCheck = [ "litecli" ];
43   disabledTests = [
44     "test_auto_escaped_col_names"
45   ];
47   meta = with lib; {
48     description = "Command-line interface for SQLite";
49     mainProgram = "litecli";
50     longDescription = ''
51       A command-line client for SQLite databases that has auto-completion and syntax highlighting.
52     '';
53     homepage = "https://litecli.com";
54     changelog = "https://github.com/dbcli/litecli/blob/v${version}/CHANGELOG.md";
55     license = licenses.bsd3;
56     maintainers = with maintainers; [ Scriptkiddi ];
57   };