3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ptpython/default.nix

26 lines
637 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, prompt_toolkit, appdirs, docopt, jedi
, pygments, isPy3k }:
2017-09-15 01:48:17 +01:00
buildPythonPackage rec {
pname = "ptpython";
version = "3.0.2";
disabled = !isPy3k;
2017-09-15 01:48:17 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "556e5367d4d58231b575dc619493dc0d8ef4c2d15ee85c727a88beb60fa5c52b";
2017-09-15 01:48:17 +01: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;
};
}