2019-10-07 16:20:23 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, prompt_toolkit, docopt , jedi, pygments, isPy3k }:
|
2017-09-15 01:48:17 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ptpython";
|
2019-10-16 10:43:12 +01:00
|
|
|
version = "2.0.6";
|
2019-10-07 16:20:23 +01:00
|
|
|
disabled = !isPy3k;
|
2017-09-15 01:48:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:12 +01:00
|
|
|
sha256 = "90e24040e82de4abae0bbe6e352d59ae6657e14e1154e742c0038679361b052f";
|
2017-09-15 01:48:17 +01:00
|
|
|
};
|
|
|
|
|
2018-11-09 13:14:57 +00:00
|
|
|
propagatedBuildInputs = [ prompt_toolkit docopt jedi pygments ];
|
2017-09-15 01:48:17 +01:00
|
|
|
|
|
|
|
# no tests to run
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An advanced Python REPL";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ mlieberman85 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|