2017-06-01 22:05:26 +02:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, nose, numpy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uncertainties";
|
2018-01-20 12:00:24 +01:00
|
|
|
version = "3.0.2";
|
2017-06-01 22:05:26 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-20 12:00:24 +01:00
|
|
|
sha256 = "91db922d54dff6094b4ea0d6e058f713a992cdf42e3ebaf73278e1893bfa2942";
|
2017-06-01 22:05:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose numpy ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-06-27 22:12:57 +02:00
|
|
|
homepage = https://pythonhosted.org/uncertainties/;
|
2017-06-01 22:05:26 +02:00
|
|
|
description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)";
|
2017-12-05 23:20:11 +01:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
2017-06-01 22:05:26 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|