From 5ddefd615564320bef27353f6c42568715d2d7cc Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 17 Sep 2013 16:40:34 +0200 Subject: [PATCH 1/5] blas: update to version 20110419 --- pkgs/development/libraries/science/math/blas/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/math/blas/default.nix b/pkgs/development/libraries/science/math/blas/default.nix index 7066ebad87c0..1bc7eff31819 100644 --- a/pkgs/development/libraries/science/math/blas/default.nix +++ b/pkgs/development/libraries/science/math/blas/default.nix @@ -1,10 +1,10 @@ { stdenv, fetchurl, gfortran }: stdenv.mkDerivation { - name = "blas-20070405"; + name = "blas-20110419"; src = fetchurl { url = "http://www.netlib.org/blas/blas.tgz"; - sha256 = "07alzd2yxkah96vjczqwi3ld5w00bvqv7qxb2fayvhs1h64jabxw"; + sha256 = "1d931d91byv2svydpj2ipjh1f2sm1h9ns8ik2w5fwaa8qinxz1za"; }; buildInputs = [gfortran]; From ec486f6a7e41f41aeed10b751dc887f4310b1aa7 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 17 Sep 2013 16:41:15 +0200 Subject: [PATCH 2/5] ipython: update to version 1.1.0 --- pkgs/shells/ipython/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/shells/ipython/default.nix b/pkgs/shells/ipython/default.nix index 79c61b8ed233..b9b9129cb486 100644 --- a/pkgs/shells/ipython/default.nix +++ b/pkgs/shells/ipython/default.nix @@ -13,12 +13,12 @@ assert qtconsoleSupport == true -> pyqt4 != null; assert pylabQtSupport == true -> pyqt4 != null && sip != null; buildPythonPackage rec { - name = "ipython-1.0.0"; + name = "ipython-1.1.0"; namePrefix = ""; src = fetchurl { url = "http://pypi.python.org/packages/source/i/ipython/${name}.tar.gz"; - sha256 = "074i08a1zr7wjpqc7rm0k3rnq0laf0gjrcxlfvvb3qc48wdm41qd"; + sha256 = "1glivwy7k2dciy0y5i39syngip84nrqhpggn4glmpd2s49jllkkc"; }; propagatedBuildInputs = [ From 34513244ca1a7cdb2a5fd924dcf34095b46f74f3 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 17 Sep 2013 16:41:56 +0200 Subject: [PATCH 3/5] python-pandas: update to 0.12.0 --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fc54f79ebb3e..182d09517324 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3613,11 +3613,11 @@ pythonPackages = modules // import ./python-packages-generated.nix { }); pandas = buildPythonPackage rec { - name = "pandas-0.11.0"; + name = "pandas-0.12.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pandas/${name}.tar.gz"; - sha256 = "1mwh783hcch6lywgjayj8aqmbfv6n8fd2qbf1xlwqk2913ad8x2d"; + sha256 = "0vf865wh1kcq33189ykqgngb25nxhxxch6skfdl3c6w024v4r6xy"; }; buildInputs = [ nose ]; From d20ba1c861740e405b33cfa2e0de9737d47b88be Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 24 Sep 2013 22:55:49 +0200 Subject: [PATCH 4/5] python-scipy: update to version 0.12.0 --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 182d09517324..19981fdd8162 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5058,11 +5058,11 @@ pythonPackages = modules // import ./python-packages-generated.nix { scipy = buildPythonPackage rec { - name = "scipy-0.9.0"; + name = "scipy-0.12.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/scipy/${name}.tar.gz"; - md5 = "ebfef6e8e82d15c875a4ee6a46d4e1cd"; + md5 = "8fb4da324649f655e8557ea92b998786"; }; buildInputs = [pkgs.gfortran]; From 289359d49928e0095875393144763717f9499916 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 24 Sep 2013 23:06:28 +0200 Subject: [PATCH 5/5] python-qutip: Add qutip - the quantum toolbox in python --- pkgs/top-level/python-packages.nix | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 19981fdd8162..5a9fe87417bb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4933,6 +4933,37 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; + qutip = buildPythonPackage rec { + name = "qutip-2.2.0"; + + src = fetchurl { + url = "https://qutip.googlecode.com/files/QuTiP-2.2.0.tar.gz"; + sha1 = "76ba4991322a991d580e78a197adc80d58bd5fb3"; + }; + + propagatedBuildInputs = [ numpy scipy matplotlib pkgs.pyqt4 + pkgs.cython ]; + + buildInputs = with pkgs; [ gcc qt4 blas ] ++ [ nose ]; + + meta = { + description = "QuTiP - Quantum Toolbox in Python"; + longDescription = '' + QuTiP is open-source software for simulating the dynamics of + open quantum systems. The QuTiP library depends on the + excellent Numpy and Scipy numerical packages. In addition, + graphical output is provided by Matplotlib. QuTiP aims to + provide user-friendly and efficient numerical simulations of a + wide variety of Hamiltonians, including those with arbitrary + time-dependence, commonly found in a wide range of physics + applications such as quantum optics, trapped ions, + superconducting circuits, and quantum nanomechanical + resonators. + ''; + homepage = http://qutip.org/; + }; + }; + requests_oauth2 = buildPythonPackage rec { name = "requests-oauth2-0.1.1";