From a52e3408fa5a0adb2a3f57d6f03d7757234f8458 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 14 Jun 2021 12:47:46 +0200 Subject: [PATCH] litecli: 1.5.0 -> 1.6.0 --- .../tools/database/litecli/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/database/litecli/default.nix b/pkgs/development/tools/database/litecli/default.nix index ee18a72216dc..75e600ccb513 100644 --- a/pkgs/development/tools/database/litecli/default.nix +++ b/pkgs/development/tools/database/litecli/default.nix @@ -1,16 +1,15 @@ -{ lib, python3Packages }: +{ lib +, python3Packages +}: python3Packages.buildPythonApplication rec { pname = "litecli"; - version = "1.5.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; + version = "1.6.0"; + disabled = python3Packages.pythonOlder "3.4"; src = python3Packages.fetchPypi { inherit pname version; - sha256 = "b09f0804d26b018360b240778612390810e8e00ea0f79d5412fd0d4775c0e3cd"; + sha256 = "sha256-TSdOFHW007syOEg4gwvEqDiJkrfLgRmqjP/H/6oBZ/k="; }; propagatedBuildInputs = with python3Packages; [ @@ -27,6 +26,8 @@ python3Packages.buildPythonApplication rec { mock ]; + pythonImportsCheck = [ "litecli" ]; + meta = with lib; { description = "Command-line interface for SQLite"; longDescription = ''