Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 45 lines 1.3 kB view raw
1{ stdenv 2, buildPythonPackage 3, fetchurl 4, numpy 5, scipy 6, matplotlib 7, pyqt4 8, cython 9, pkgs 10, nose 11}: 12 13buildPythonPackage rec { 14 pname = "qutip"; 15 version = "2.2.0"; 16 17 src = fetchurl { 18 url = "https://qutip.googlecode.com/files/QuTiP-${version}.tar.gz"; 19 sha256 = "a26a639d74b2754b3a1e329d91300e587e8c399d8a81d8f18a4a74c6d6f02ba3"; 20 }; 21 22 propagatedBuildInputs = [ numpy scipy matplotlib pyqt4 cython ]; 23 24 buildInputs = [ pkgs.gcc pkgs.qt4 pkgs.blas nose ]; 25 26 meta = with stdenv.lib; { 27 description = "QuTiP - Quantum Toolbox in Python"; 28 longDescription = '' 29 QuTiP is open-source software for simulating the dynamics of 30 open quantum systems. The QuTiP library depends on the 31 excellent Numpy and Scipy numerical packages. In addition, 32 graphical output is provided by Matplotlib. QuTiP aims to 33 provide user-friendly and efficient numerical simulations of a 34 wide variety of Hamiltonians, including those with arbitrary 35 time-dependence, commonly found in a wide range of physics 36 applications such as quantum optics, trapped ions, 37 superconducting circuits, and quantum nanomechanical 38 resonators. 39 ''; 40 homepage = http://qutip.org/; 41 license = licenses.bsd0; 42 broken = true; 43 }; 44 45}