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";
|
2018-11-09 13:14:57 +00:00
|
|
|
version = "2.0.4";
|
2019-10-07 16:20:23 +01:00
|
|
|
disabled = !isPy3k;
|
2017-09-15 01:48:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 13:14:57 +00:00
|
|
|
sha256 = "1m34jbwj3j3762mg1vynpgciqw4kqdzdqjvd62mwhbjkly7ddsgb";
|
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;
|
|
|
|
};
|
|
|
|
}
|