git.iko.soy/typeable/nixpkgs
on master help sign in
mycli: 1.22.2 -> 1.23.0
commitbe9bda4fa0588d398abf83feb424e0eb7100ef66 authorJohannes Schleifenbaum <johannes@js-webcoding.de> dateFri 15 Jan 2021, 14:50 (6 years ago) parent65aca46
1 file changed+12−13
pkgs/tools/admin/mycli/default.nix+12−13
pkgs/tools/admin/mycli/default.nix+12−13
@@ -1,22 +1,30 @@
11{ lib
22, python3
33, glibcLocales
4−, fetchpatch
54}:
65
76with python3.pkgs;
87
98buildPythonApplication rec {
109 pname = "mycli";
11− version = "1.22.2";
10+ version = "1.23.0";
1211
1312 src = fetchPypi {
1413 inherit pname version;
15− sha256 = "1lq2x95553vdmhw13cxcgsd2g2i32izhsb7hxd4m1iwf9b3msbpv";
14+ sha256 = "sha256-k1UHpEoszThUvoL4h59vGZ71bAx26VJ0iT/YuVQk/Lk=";
1615 };
1716
1817 propagatedBuildInputs = [
19− paramiko pymysql configobj sqlparse prompt_toolkit pygments click pycrypto cli-helpers
18+ cli-helpers
19+ click
20+ configobj
21+ paramiko
22+ prompt_toolkit
23+ pycrypto
24+ pygments
25+ pymysql
26+ pyperclip
27+ sqlparse
2028 ];
2129
2230 checkInputs = [ pytest mock glibcLocales ];
@@ -29,15 +37,6 @@ buildPythonApplication rec {
2937 --ignore=mycli/packages/paramiko_stub/__init__.py
3038 '';
3139
32− patches = [
33− # TODO: remove with next release (v1.22.3 or v1.23)
34− (fetchpatch {
35− url = "https://github.com/dbcli/mycli/commit/17f093d7b70ab2d9f3c6eababa041bf76f029aac.patch";
36− sha256 = "sha256-VwfbtzUtElV+ErH+NJb+3pRtSaF0yVK8gEWCvlzZNHI=";
37− excludes = [ "changelog.md" "mycli/AUTHORS" ];
38− })
39− ];
40−
4140 postPatch = ''
4241 substituteInPlace setup.py \
4342 --replace "sqlparse>=0.3.0,<0.4.0" "sqlparse"