Skip to content

Commit

Permalink
litecli: 1.11.0 -> 1.12.3 (#354267)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Nov 12, 2024
2 parents 4203dd2 + d2e1e70 commit f93ca1b
Showing 1 changed file with 26 additions and 14 deletions.
40 changes: 26 additions & 14 deletions pkgs/by-name/li/litecli/package.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
{ lib
, python3Packages
, fetchPypi
{
lib,
python3Packages,
fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
pname = "litecli";
version = "1.11.0";
version = "1.12.3";

src = fetchPypi {
inherit pname version;
hash = "sha256-YW3mjYfSuxi/XmaetrWmjVuTfqgaitQ5wfUaJdHIH1Y=";
pyproject = true;

src = fetchFromGitHub {
owner = "dbcli";
repo = "litecli";
rev = "v${version}";
hash = "sha256-TPwzXfb4n6wTe6raQ5IowKdhGkKrf2pmSS2+Q03NKYk=";
};

propagatedBuildInputs = with python3Packages; [
cli-helpers
click
configobj
prompt-toolkit
pygments
sqlparse
dependencies =
with python3Packages;
[
cli-helpers
click
configobj
prompt-toolkit
pygments
sqlparse
]
++ cli-helpers.optional-dependencies.styles;

build-system = with python3Packages; [
setuptools
];

nativeCheckInputs = with python3Packages; [
Expand Down

0 comments on commit f93ca1b

Please sign in to comment.