2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "litecli";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.6.0";
|
|
|
|
disabled = python3Packages.pythonOlder "3.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-TSdOFHW007syOEg4gwvEqDiJkrfLgRmqjP/H/6oBZ/k=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
cli-helpers
|
|
|
|
click
|
|
|
|
configobj
|
2021-08-05 21:33:18 +00:00
|
|
|
prompt-toolkit
|
2020-04-24 23:36:52 +00:00
|
|
|
pygments
|
|
|
|
sqlparse
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = with python3Packages; [
|
2020-12-27 14:24:52 +00:00
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
mock
|
|
|
|
];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
pythonImportsCheck = [ "litecli" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Command-line interface for SQLite";
|
|
|
|
longDescription = ''
|
|
|
|
A command-line client for SQLite databases that has auto-completion and syntax highlighting.
|
|
|
|
'';
|
|
|
|
homepage = "https://litecli.com";
|
2020-12-27 14:24:52 +00:00
|
|
|
changelog = "https://github.com/dbcli/litecli/blob/v${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ Scriptkiddi ];
|
|
|
|
};
|
|
|
|
}
|