1{ lib
2, python3Packages
3}:
4
5python3Packages.buildPythonApplication rec {
6 pname = "litecli";
7 version = "1.6.0";
8 disabled = python3Packages.pythonOlder "3.4";
9
10 src = python3Packages.fetchPypi {
11 inherit pname version;
12 sha256 = "sha256-TSdOFHW007syOEg4gwvEqDiJkrfLgRmqjP/H/6oBZ/k=";
13 };
14
15 propagatedBuildInputs = with python3Packages; [
16 cli-helpers
17 click
18 configobj
19 prompt-toolkit
20 pygments
21 sqlparse
22 ];
23
24 checkInputs = with python3Packages; [
25 pytestCheckHook
26 mock
27 ];
28
29 pythonImportsCheck = [ "litecli" ];
30
31 meta = with lib; {
32 description = "Command-line interface for SQLite";
33 longDescription = ''
34 A command-line client for SQLite databases that has auto-completion and syntax highlighting.
35 '';
36 homepage = "https://litecli.com";
37 changelog = "https://github.com/dbcli/litecli/blob/v${version}/CHANGELOG.md";
38 license = licenses.bsd3;
39 maintainers = with maintainers; [ Scriptkiddi ];
40 };
41}