2017-06-01 20:05:26 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, nose, numpy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uncertainties";
|
2019-08-20 16:37:24 +00:00
|
|
|
version = "3.1.2";
|
2017-06-01 20:05:26 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 16:37:24 +00:00
|
|
|
sha256 = "07kahmr0vfmncf8y4x6ldjrghnd4gsf0fwykgjj5ijvqi9xc21xs";
|
2017-06-01 20:05:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose numpy ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://pythonhosted.org/uncertainties/";
|
2017-06-01 20:05:26 +00:00
|
|
|
description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)";
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
2017-06-01 20:05:26 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|