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.

42 lines
973 B
Nix
Raw Normal View History

2021-06-14 12:47:46 +02:00
{ lib
, python3Packages
}:
2019-01-07 18:57:04 +01:00
python3Packages.buildPythonApplication rec {
pname = "litecli";
2021-06-14 12:47:46 +02:00
version = "1.6.0";
disabled = python3Packages.pythonOlder "3.4";
2019-01-07 18:57:04 +01:00
src = python3Packages.fetchPypi {
inherit pname version;
2021-06-14 12:47:46 +02:00
sha256 = "sha256-TSdOFHW007syOEg4gwvEqDiJkrfLgRmqjP/H/6oBZ/k=";
2019-01-07 18:57:04 +01:00
};
propagatedBuildInputs = with python3Packages; [
cli-helpers
click
configobj
prompt-toolkit
2019-01-07 18:57:04 +01:00
pygments
sqlparse
];
2019-01-31 21:43:35 +01:00
checkInputs = with python3Packages; [
2020-12-26 05:20:00 +01:00
pytestCheckHook
2019-01-31 21:43:35 +01:00
mock
];
2021-06-14 12:47:46 +02:00
pythonImportsCheck = [ "litecli" ];
2019-01-07 18:57:04 +01: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 05:20:00 +01:00
changelog = "https://github.com/dbcli/litecli/blob/v${version}/CHANGELOG.md";
2019-01-07 18:57:04 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ Scriptkiddi ];
};
}