2018-11-09 13:14:57 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, prompt_toolkit, docopt , jedi, pygments }:
|
2017-09-15 00:48:17 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ptpython";
|
2018-11-09 13:14:57 +00:00
|
|
|
version = "2.0.4";
|
2017-09-15 00:48:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 13:14:57 +00:00
|
|
|
sha256 = "1m34jbwj3j3762mg1vynpgciqw4kqdzdqjvd62mwhbjkly7ddsgb";
|
2017-09-15 00:48:17 +00:00
|
|
|
};
|
|
|
|
|
2018-11-09 13:14:57 +00:00
|
|
|
propagatedBuildInputs = [ prompt_toolkit docopt jedi pygments ];
|
2017-09-15 00:48:17 +00: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;
|
|
|
|
};
|
|
|
|
}
|