Merge pull request #9226 from rehno-lindeque/mycli-1.3.0

mycli: init at 1.3.0

+53
+53
pkgs/top-level/python-packages.nix
··· 9439 9439 }; 9440 9440 }; 9441 9441 9442 + mycli = buildPythonPackage rec { 9443 + name = "mycli-${version}"; 9444 + version = "1.3.0"; 9445 + 9446 + src = pkgs.fetchFromGitHub { 9447 + sha256 = "109jz84m29v4fjhk2ngsfc1b6zw4w6dbjlr2izvib63ylcz7b5nh"; 9448 + rev = "v${version}"; 9449 + repo = "mycli"; 9450 + owner = "dbcli"; 9451 + }; 9452 + 9453 + propagatedBuildInputs = with self; [ 9454 + pymysql configobj sqlparse prompt_toolkit0_45 pygments click 9455 + ]; 9456 + 9457 + meta = { 9458 + inherit version; 9459 + description = "Command-line interface for MySQL"; 9460 + longDescription = '' 9461 + Rich command-line interface for MySQL with auto-completion and 9462 + syntax highlighting. 9463 + ''; 9464 + homepage = http://mycli.net; 9465 + license = licenses.bsd3; 9466 + }; 9467 + }; 9468 + 9442 9469 pip = buildPythonPackage rec { 9443 9470 version = "1.5.6"; 9444 9471 name = "pip-${version}"; ··· 9760 9787 9761 9788 src = pkgs.fetchurl { 9762 9789 sha256 = "1xkrbz7d2mzd5r5a8aqbnhym57fkpri9x73cql5vb573glzwddla"; 9790 + url = "https://pypi.python.org/packages/source/p/prompt_toolkit/${name}.tar.gz"; 9791 + }; 9792 + 9793 + buildInputs = with self; [ jedi ipython pygments ]; 9794 + propagatedBuildInputs = with self; [ docopt six wcwidth ]; 9795 + 9796 + meta = { 9797 + description = "Python library for building powerful interactive command lines"; 9798 + longDescription = '' 9799 + prompt_toolkit could be a replacement for readline, but it can be 9800 + much more than that. It is cross-platform, everything that you build 9801 + with it should run fine on both Unix and Windows systems. Also ships 9802 + with a nice interactive Python shell (called ptpython) built on top. 9803 + ''; 9804 + homepage = https://github.com/jonathanslenders/python-prompt-toolkit; 9805 + license = licenses.bsd3; 9806 + maintainers = with maintainers; [ nckx ]; 9807 + }; 9808 + }; 9809 + 9810 + prompt_toolkit0_45 = buildPythonPackage rec { 9811 + name = "prompt_toolkit-${version}"; 9812 + version = "0.45"; 9813 + 9814 + src = pkgs.fetchurl { 9815 + sha256 = "19lp15rc0rq4jqaacg2a38cdgfy2avhf5v97yanasx4n2swx4gsm"; 9763 9816 url = "https://pypi.python.org/packages/source/p/prompt_toolkit/${name}.tar.gz"; 9764 9817 }; 9765 9818