mycli: 1.6.0 -> 1.17.0

This commit is contained in:
Wael M. Nasreddine 2018-08-06 23:40:56 -07:00
parent 16cfc2a602
commit e9cb147a37
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF

View File

@ -1,28 +1,31 @@
{ lib { lib
, python , python3
, glibcLocales
}: }:
with python.pkgs; with python3.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "mycli"; pname = "mycli";
version = "1.6.0"; version = "1.17.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0qg4b62kizyb16kk0cvpk70bfs3gg4q4hj2b15nnc7a3gqqfp67j"; sha256 = "11d3ssjifms6bid77jk06zl5wl3srihijmv5kggxa0w2l59y8h9m";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
pymysql configobj sqlparse prompt_toolkit pygments click pycrypto pymysql configobj sqlparse prompt_toolkit pygments click pycrypto cli-helpers
]; ];
postPatch = '' checkInputs = [ pytest mock glibcLocales ];
substituteInPlace setup.py --replace "==" ">="
'';
# No tests in archive. Newer versions do include tests checkPhase = ''
doCheck = false; export HOME=.
export LC_ALL="en_US.UTF-8"
py.test
'';
meta = { meta = {
inherit version; inherit version;