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