nixpkgs-suyu/pkgs/development/python-modules/ptpython/default.nix

25 lines
620 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, prompt_toolkit, docopt , jedi, pygments, isPy3k }:
2017-09-15 02:48:17 +02:00
buildPythonPackage rec {
pname = "ptpython";
2019-10-16 11:43:12 +02:00
version = "2.0.6";
disabled = !isPy3k;
2017-09-15 02:48:17 +02:00
src = fetchPypi {
inherit pname version;
2019-10-16 11:43:12 +02:00
sha256 = "90e24040e82de4abae0bbe6e352d59ae6657e14e1154e742c0038679361b052f";
2017-09-15 02:48:17 +02:00
};
2018-11-09 14:14:57 +01:00
propagatedBuildInputs = [ prompt_toolkit docopt jedi pygments ];
2017-09-15 02:48:17 +02: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;
};
}