Merge pull request #65809 from JohnAZoidberg/litecli-1.1.0
litecli: 1.0.0 -> 1.1.0
This commit is contained in:
commit
8251b83e6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user