nixpkgs/pkgs/development/tools/database/litecli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.0 KiB
Nix
Raw Normal View History

2021-06-14 10:47:46 +00:00
{ lib
, python3Packages
}:
2019-01-07 17:57:04 +00:00
python3Packages.buildPythonApplication rec {
pname = "litecli";
2022-04-14 23:27:45 +00:00
version = "1.8.0";
2021-06-14 10:47:46 +00:00
disabled = python3Packages.pythonOlder "3.4";
2019-01-07 17:57:04 +00:00
src = python3Packages.fetchPypi {
inherit pname version;
2022-04-14 23:27:45 +00:00
sha256 = "sha256-AvaSdHlwRlw7rN/o8GjcXZbyXVsrEh+XF37wVTBEED4=";
2019-01-07 17:57:04 +00:00
};
propagatedBuildInputs = with python3Packages; [
cli-helpers
click
configobj
prompt-toolkit
2019-01-07 17:57:04 +00:00
pygments
sqlparse
];
nativeCheckInputs = with python3Packages; [
2020-12-26 04:20:00 +00:00
pytestCheckHook
2019-01-31 20:43:35 +00:00
mock
];
2021-06-14 10:47:46 +00:00
pythonImportsCheck = [ "litecli" ];
disabledTests = [
"test_auto_escaped_col_names"
];
2019-01-07 17:57:04 +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-26 04:20:00 +00:00
changelog = "https://github.com/dbcli/litecli/blob/v${version}/CHANGELOG.md";
2019-01-07 17:57:04 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ Scriptkiddi ];
};
}