mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Merge pull request #1014 from coroa/scipy
Updating scipy and friends to add the new package qutip
This commit is contained in:
commit
9f7a56dcb6
|
@ -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];
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -3938,11 +3938,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 ];
|
||||
|
@ -5267,6 +5267,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";
|
||||
|
||||
|
@ -5419,11 +5450,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];
|
||||
|
|
Loading…
Reference in a new issue