summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ptpython
diff options
context:
space:
mode:
authorSamuel Leathers <sam@appliedtrust.com>2017-09-14 20:48:17 -0400
committerSamuel Leathers <sam@appliedtrust.com>2017-09-14 20:48:36 -0400
commite355e9cf0310344d8ffed42e80b0ed4ef0f47698 (patch)
tree09885b5656492e538d1fe85e6ad291b2dd47d74d /pkgs/development/python-modules/ptpython
parent0d9410a57330ce3c28c8844cea7e01345ee0fd38 (diff)
ptpython: 0.35 -> 0.41
Diffstat (limited to 'pkgs/development/python-modules/ptpython')
-rw-r--r--pkgs/development/python-modules/ptpython/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ptpython/default.nix b/pkgs/development/python-modules/ptpython/default.nix
new file mode 100644
index 000000000000..b553d50d130b
--- /dev/null
+++ b/pkgs/development/python-modules/ptpython/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildPythonPackage, fetchPypi, wcwidth, six, prompt_toolkit, docopt
+, jedi, pygments }:
+
+buildPythonPackage rec {
+ pname = "ptpython";
+ version = "0.41";
+ name = "${pname}-${version}";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1hcaaadkp5n37hxggraynifa33wx1akklzvf6y4rvgjxbjl2g2x7";
+ };
+
+ propagatedBuildInputs = [ wcwidth six prompt_toolkit docopt jedi pygments ];
+
+ # 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;
+ };
+}