mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
litecli: init at 1.0.0
This commit is contained in:
parent
e1d9854816
commit
2f0dbb8bda
37
pkgs/development/tools/database/litecli/default.nix
Normal file
37
pkgs/development/tools/database/litecli/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "litecli";
|
||||
version = "1.0.0";
|
||||
|
||||
# Python 2 won't have prompt_toolkit 2.x.x
|
||||
# See: https://github.com/NixOS/nixpkgs/blob/f49e2ad3657dede09dc998a4a98fd5033fb52243/pkgs/top-level/python-packages.nix#L3408
|
||||
disabled = python3Packages.isPy27;
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0s5a6r5q09144cc5169snwis5i2jrh3z2g4mw9wi2fsjxyhgpwq5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
cli-helpers
|
||||
click
|
||||
configobj
|
||||
prompt_toolkit
|
||||
pygments
|
||||
sqlparse
|
||||
];
|
||||
|
||||
#Checks are failing due to missing TTY, which won't exist.
|
||||
doCheck = false;
|
||||
|
||||
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;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
|
@ -8817,6 +8817,8 @@ in
|
|||
|
||||
lit = callPackage ../development/tools/misc/lit { };
|
||||
|
||||
litecli = callPackage ../development/tools/database/litecli {};
|
||||
|
||||
lsof = callPackage ../development/tools/misc/lsof { };
|
||||
|
||||
ltrace = callPackage ../development/tools/misc/ltrace { };
|
||||
|
|
Loading…
Reference in a new issue