python.pkgs.quantities: 0.10.1 -> 0.12.1

This commit is contained in:
Frederik Rietdijk 2018-02-03 15:30:51 +01:00
parent 7765bd928a
commit 4bd9faf288
2 changed files with 29 additions and 14 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, python
}:
buildPythonPackage rec {
pname = "quantities";
version = "0.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "0a03e8511db603c57ca80dee851c43f08d0457f4d592bcac2e154570756cb934";
};
propagatedBuildInputs = [ numpy ];
checkPhase = ''
${python.interpreter} setup.py test -V 1
'';
meta = {
description = "Quantities is designed to handle arithmetic and";
homepage = http://python-quantities.readthedocs.io/;
license = lib.licenses.bsd2;
};
}

View File

@ -15086,20 +15086,7 @@ in {
qtpy = callPackage ../development/python-modules/qtpy { }; qtpy = callPackage ../development/python-modules/qtpy { };
quantities = buildPythonPackage rec { quantities = callPackage ../development/python-modules/quantities { };
name = "quantities-0.10.1";
src = pkgs.fetchurl {
url = "mirror://pypi/q/quantities/quantities-0.10.1.tar.gz";
sha256 = "2d27caf31a5e0c37130ac0c14bfa8f9412a5ff1fbf3378a1d6085594776c4315";
};
meta = with pkgs.stdenv.lib; {
description = "Quantities is designed to handle arithmetic and";
homepage = http://packages.python.org/quantities;
license = licenses.bsd2;
};
};
qutip = buildPythonPackage rec { qutip = buildPythonPackage rec {
name = "qutip-2.2.0"; name = "qutip-2.2.0";