Merge pull request #49853 from marsam/feature/update-pgcli
pythonPackages.prompt_toolkit: init at 2.0.7 pgcli: 1.11.0 -> 2.0.0 xonsh: 0.6.8 -> 0.8.3 pythonPackages.ptpython: 0.41 -> 2.0.4
This commit is contained in:
38
pkgs/development/python-modules/prompt_toolkit/1.nix
Normal file
38
pkgs/development/python-modules/prompt_toolkit/1.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, docopt
|
||||
, six
|
||||
, wcwidth
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prompt_toolkit";
|
||||
version = "1.0.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917";
|
||||
};
|
||||
checkPhase = ''
|
||||
rm prompt_toolkit/win32_types.py
|
||||
py.test -k 'not test_pathcompleter_can_expanduser'
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ docopt six wcwidth pygments ];
|
||||
|
||||
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 = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -2,27 +2,24 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, docopt
|
||||
, six
|
||||
, wcwidth
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prompt_toolkit";
|
||||
version = "1.0.15";
|
||||
version = "2.0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917";
|
||||
sha256 = "0fgacqk73w7s932vy46pan2yp8rvjmlkag20xvaydh9mhf6h85zx";
|
||||
};
|
||||
checkPhase = ''
|
||||
rm prompt_toolkit/win32_types.py
|
||||
py.test -k 'not test_pathcompleter_can_expanduser'
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ docopt six wcwidth pygments ];
|
||||
propagatedBuildInputs = [ six wcwidth ];
|
||||
|
||||
meta = {
|
||||
description = "Python library for building powerful interactive command lines";
|
||||
@@ -35,4 +32,4 @@ buildPythonPackage rec {
|
||||
homepage = https://github.com/jonathanslenders/python-prompt-toolkit;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +1,15 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, wcwidth, six, prompt_toolkit, docopt
|
||||
, jedi, pygments }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, prompt_toolkit, docopt , jedi, pygments }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ptpython";
|
||||
version = "0.41";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hcaaadkp5n37hxggraynifa33wx1akklzvf6y4rvgjxbjl2g2x7";
|
||||
sha256 = "1m34jbwj3j3762mg1vynpgciqw4kqdzdqjvd62mwhbjkly7ddsgb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ wcwidth six prompt_toolkit docopt jedi pygments ];
|
||||
propagatedBuildInputs = [ prompt_toolkit docopt jedi pygments ];
|
||||
|
||||
# no tests to run
|
||||
doCheck = false;
|
||||
|
||||
Reference in New Issue
Block a user