mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
mycli: 1.6.0 -> 1.17.0
This commit is contained in:
parent
16cfc2a602
commit
e9cb147a37
@ -1,28 +1,31 @@
|
||||
{ lib
|
||||
, python
|
||||
, python3
|
||||
, glibcLocales
|
||||
}:
|
||||
|
||||
with python.pkgs;
|
||||
with python3.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "mycli";
|
||||
version = "1.6.0";
|
||||
version = "1.17.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qg4b62kizyb16kk0cvpk70bfs3gg4q4hj2b15nnc7a3gqqfp67j";
|
||||
sha256 = "11d3ssjifms6bid77jk06zl5wl3srihijmv5kggxa0w2l59y8h9m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pymysql configobj sqlparse prompt_toolkit pygments click pycrypto
|
||||
pymysql configobj sqlparse prompt_toolkit pygments click pycrypto cli-helpers
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "==" ">="
|
||||
'';
|
||||
checkInputs = [ pytest mock glibcLocales ];
|
||||
|
||||
# No tests in archive. Newer versions do include tests
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
export HOME=.
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
|
Loading…
Reference in New Issue
Block a user