git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #107631 from marsam/update-litecli

litecli: 1.4.1 -> 1.5.0

commitae7e558cd4b31f07520b7a7ceb77f84a5187d5ef authorBenjamin Hipple <bhipple@protonmail.com> dateSat 26 Dec 2020, 11:12 (6 years ago) parente8860f906a4f7d
1 file changed+5−19
pkgs/development/tools/database/litecli/default.nix+5−19
pkgs/development/tools/database/litecli/default.nix+5−19
@@ -1,8 +1,8 @@
1−{ lib, python3Packages, fetchpatch }:
1+{ lib, python3Packages }:
22
33python3Packages.buildPythonApplication rec {
44 pname = "litecli";
5− version = "1.4.1";
5+ version = "1.5.0";
66
77 # Python 2 won't have prompt_toolkit 2.x.x
88 # See: https://github.com/NixOS/nixpkgs/blob/f49e2ad3657dede09dc998a4a98fd5033fb52243/pkgs/top-level/python-packages.nix#L3408
@@ -10,17 +10,9 @@ python3Packages.buildPythonApplication rec {
1010
1111 src = python3Packages.fetchPypi {
1212 inherit pname version;
13− sha256 = "FARWjtbS5zi/XQDyAVImUmArLj8xATz1jZ4jnXFdq1w=";
13+ sha256 = "b09f0804d26b018360b240778612390810e8e00ea0f79d5412fd0d4775c0e3cd";
1414 };
1515
16− patches = [
17− # Fix compatibility with sqlparse >= 0.4.0. Remove with the next release
18− (fetchpatch {
19− url = "https://github.com/dbcli/litecli/commit/37957e401d22f88800bbdec2c690e731f2cc13bd.patch";
20− sha256 = "1x82s2h1rzflyiahyd8pfya30rzs6yx6ij4a4s16f8iix5x35zv9";
21− })
22− ];
23−
2416 propagatedBuildInputs = with python3Packages; [
2517 cli-helpers
2618 click
@@ -31,23 +23,17 @@ python3Packages.buildPythonApplication rec {
3123 ];
3224
3325 checkInputs = with python3Packages; [
34− pytest
26+ pytestCheckHook
3527 mock
3628 ];
3729
38− preCheck = ''
39− export XDG_CONFIG_HOME=$TMP
40− # add missing file
41− mkdir -p tests/data
42− echo -e "t1,11\nt2,22\n" > tests/data/import_data.csv
43− '';
44−
4530 meta = with lib; {
4631 description = "Command-line interface for SQLite";
4732 longDescription = ''
4833 A command-line client for SQLite databases that has auto-completion and syntax highlighting.
4934 '';
5035 homepage = "https://litecli.com";
36+ changelog = "https://github.com/dbcli/litecli/blob/v${version}/CHANGELOG.md";
5137 license = licenses.bsd3;
5238 maintainers = with maintainers; [ Scriptkiddi ];
5339 };