From 50a167ba7b55ecd7ec1a5ed70e26592c59b0bcf8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 29 Nov 2010 18:04:56 +0000 Subject: [PATCH] pkgs/shells/ipython: added initial version of ipython 0.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Committing on behalf of Cillian de RĂ³iste . svn path=/nixpkgs/trunk/; revision=24928 --- pkgs/shells/ipython/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 14 ++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/shells/ipython/default.nix diff --git a/pkgs/shells/ipython/default.nix b/pkgs/shells/ipython/default.nix new file mode 100644 index 000000000000..68064dded3d9 --- /dev/null +++ b/pkgs/shells/ipython/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, buildPythonPackage }: + +buildPythonPackage { + name = "ipython-0.10.1"; + + src = fetchurl { + url = "http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz"; + sha256 = "18zwrg25zn72w4rmcwxzcw11ibgp001fawm2sz189zv86z70fxi2"; + }; + + doCheck = false; + + meta = { + homepage = http://ipython.scipy.org/; + description = "An interactive computing environment for Python"; + license = "BSD"; + + longDescription = '' + The goal of IPython is to create a comprehensive environment + for interactive and exploratory computing. It consists of an + enhanced interactive Python shell and an architecture for + interactive parallel computing. + ''; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe9ad364e752..c71f47468db8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1443,6 +1443,20 @@ let dash = callPackage ../shells/dash { }; + ipython = callPackage ../shells/ipython { + # I did not find any better way of reusing buildPythonPackage+setuptools + # for a python with openssl support + buildPythonPackage = assert pythonFull.readlineSupport; + import ../development/python-modules/generic { + inherit makeWrapper lib; + python = pythonFull; + setuptools = builderDefsPackage (import ../development/python-modules/setuptools) { + inherit makeWrapper; + python = pythonFull; + }; + }; + }; + tcsh = callPackage ../shells/tcsh { }; rush = callPackage ../shells/rush { };