pythonPackages.qutip: refactor move to pyhton-modules
This commit is contained in:
parent
e3227bc63b
commit
cba6efcb74
44
pkgs/development/python-modules/qutip/default.nix
Normal file
44
pkgs/development/python-modules/qutip/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, pyqt4
|
||||
, cython
|
||||
, pkgs
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "qutip";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://qutip.googlecode.com/files/QuTiP-2.2.0.tar.gz";
|
||||
sha256 = "a26a639d74b2754b3a1e329d91300e587e8c399d8a81d8f18a4a74c6d6f02ba3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib pyqt4 cython ];
|
||||
|
||||
buildInputs = [ pkgs.gcc pkgs.qt4 pkgs.blas nose ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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/;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -3568,36 +3568,7 @@ in {
|
||||
|
||||
quantities = callPackage ../development/python-modules/quantities { };
|
||||
|
||||
qutip = buildPythonPackage rec {
|
||||
name = "qutip-2.2.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://qutip.googlecode.com/files/QuTiP-2.2.0.tar.gz";
|
||||
sha256 = "a26a639d74b2754b3a1e329d91300e587e8c399d8a81d8f18a4a74c6d6f02ba3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ numpy scipy matplotlib pyqt4
|
||||
cython ];
|
||||
|
||||
buildInputs = [ pkgs.gcc pkgs.qt4 pkgs.blas self.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/;
|
||||
};
|
||||
};
|
||||
qutip = callPackage ../development/python-modules/qutip { };
|
||||
|
||||
rcssmin = callPackage ../development/python-modules/rcssmin { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user