about summary refs log tree commit diff
path: root/pkgs/development/tools/database
diff options
context:
space:
mode:
authorDaniel Schaefer <git@danielschaefer.me>2019-08-02 18:58:47 +0200
committerDaniel Schaefer <git@danielschaefer.me>2019-08-03 11:42:50 +0200
commitf8a50fcca314e03feafcc15039f91fb829292fb1 (patch)
treead7900e5a6e0b2202a1534c3ebd70fc4ad63d536 /pkgs/development/tools/database
parenteddd2f88bc82c28c84340d3c31a7582fc2a6cb54 (diff)
downloadnixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.tar
nixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.tar.gz
nixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.tar.bz2
nixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.tar.lz
nixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.tar.xz
nixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.tar.zst
nixlib-f8a50fcca314e03feafcc15039f91fb829292fb1.zip
litecli: 1.0.0 -> 1.1.0
Fixes the tests.
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r--pkgs/development/tools/database/litecli/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/development/tools/database/litecli/default.nix b/pkgs/development/tools/database/litecli/default.nix
index cbf1af440575..8881bce1a388 100644
--- a/pkgs/development/tools/database/litecli/default.nix
+++ b/pkgs/development/tools/database/litecli/default.nix
@@ -2,7 +2,7 @@
 
 python3Packages.buildPythonApplication rec {
   pname = "litecli";
-  version = "1.0.0";
+  version = "1.1.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
@@ -10,15 +10,9 @@ python3Packages.buildPythonApplication rec {
 
   src = python3Packages.fetchPypi {
     inherit pname version;
-    sha256 = "0s5a6r5q09144cc5169snwis5i2jrh3z2g4mw9wi2fsjxyhgpwq5";
+    sha256 = "0cqil2cmnbw0jvb14v6kbr7l9yarfgy253cbb8v9znp0l4qfs7ra";
   };
 
-  # fixes tests https://github.com/dbcli/litecli/pull/53
-  postPatch = ''
-    substituteInPlace litecli/main.py \
-      --replace 'except FileNotFoundError:' 'except (FileNotFoundError, OSError):'
-  '';
-
   propagatedBuildInputs = with python3Packages; [
     cli-helpers
     click