2020-03-26 02:46:03 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, prompt_toolkit, appdirs, docopt, jedi
|
|
|
|
, pygments, isPy3k }:
|
2017-09-15 01:48:17 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ptpython";
|
2020-03-26 02:46:03 +00:00
|
|
|
version = "3.0.1";
|
2019-10-07 16:20:23 +01:00
|
|
|
disabled = !isPy3k;
|
2017-09-15 01:48:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-26 02:46:03 +00:00
|
|
|
sha256 = "a69cce0aa04f0075e2e65287a0ee2f3a928c0591b301ce22aa2e498af1ebcb4b";
|
2017-09-15 01:48:17 +01:00
|
|
|
};
|
|
|
|
|
2020-03-26 02:46:03 +00:00
|
|
|
propagatedBuildInputs = [ appdirs 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;
|
|
|
|
};
|
|
|
|
}
|