From 289359d49928e0095875393144763717f9499916 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 24 Sep 2013 23:06:28 +0200 Subject: 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"; -- cgit 1.4.1