2017-06-01 21:05:26 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, nose, numpy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uncertainties";
|
2019-06-03 00:39:36 +01:00
|
|
|
version = "3.1.1";
|
2017-06-01 21:05:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-03 00:39:36 +01:00
|
|
|
sha256 = "18b184110cbe31303d25a7bc7f73d51b9cb4e15563cb9aa25ccfbd0ebe07d448";
|
2017-06-01 21:05:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose numpy ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://pythonhosted.org/uncertainties/;
|
2017-06-01 21:05:26 +01: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 21:05:26 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|