3
0
Fork 0
forked from mirrors/nixpkgs

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

mycli: init at 1.3.0
This commit is contained in:
Arseniy Seroka 2015-08-24 00:06:11 +03:00
commit ff25df9366

View file

@ -9439,6 +9439,33 @@ let
}; };
}; };
mycli = buildPythonPackage rec {
name = "mycli-${version}";
version = "1.3.0";
src = pkgs.fetchFromGitHub {
sha256 = "109jz84m29v4fjhk2ngsfc1b6zw4w6dbjlr2izvib63ylcz7b5nh";
rev = "v${version}";
repo = "mycli";
owner = "dbcli";
};
propagatedBuildInputs = with self; [
pymysql configobj sqlparse prompt_toolkit0_45 pygments click
];
meta = {
inherit version;
description = "Command-line interface for MySQL";
longDescription = ''
Rich command-line interface for MySQL with auto-completion and
syntax highlighting.
'';
homepage = http://mycli.net;
license = licenses.bsd3;
};
};
pip = buildPythonPackage rec { pip = buildPythonPackage rec {
version = "1.5.6"; version = "1.5.6";
name = "pip-${version}"; name = "pip-${version}";
@ -9780,6 +9807,32 @@ let
}; };
}; };
prompt_toolkit0_45 = buildPythonPackage rec {
name = "prompt_toolkit-${version}";
version = "0.45";
src = pkgs.fetchurl {
sha256 = "19lp15rc0rq4jqaacg2a38cdgfy2avhf5v97yanasx4n2swx4gsm";
url = "https://pypi.python.org/packages/source/p/prompt_toolkit/${name}.tar.gz";
};
buildInputs = with self; [ jedi ipython pygments ];
propagatedBuildInputs = with self; [ docopt six wcwidth ];
meta = {
description = "Python library for building powerful interactive command lines";
longDescription = ''
prompt_toolkit could be a replacement for readline, but it can be
much more than that. It is cross-platform, everything that you build
with it should run fine on both Unix and Windows systems. Also ships
with a nice interactive Python shell (called ptpython) built on top.
'';
homepage = https://github.com/jonathanslenders/python-prompt-toolkit;
license = licenses.bsd3;
maintainers = with maintainers; [ nckx ];
};
};
protobuf = self.protobuf2_6; protobuf = self.protobuf2_6;
protobuf2_6 = self.protobufBuild pkgs.protobuf2_6; protobuf2_6 = self.protobufBuild pkgs.protobuf2_6;
protobuf2_5 = self.protobufBuild pkgs.protobuf2_5; protobuf2_5 = self.protobufBuild pkgs.protobuf2_5;