1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 future, 6 numpy, 7 pynose, 8}: 9 10buildPythonPackage rec { 11 pname = "uncertainties"; 12 version = "3.1.7"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-gBEeCDnyOcWyM8tHcgF7SDoLehVzpYG5Krd0ajXm+qs="; 18 }; 19 20 propagatedBuildInputs = [ future ]; 21 nativeCheckInputs = [ 22 pynose 23 numpy 24 ]; 25 26 checkPhase = '' 27 nosetests -sve test_1to2 28 ''; 29 30 meta = with lib; { 31 homepage = "https://pythonhosted.org/uncertainties/"; 32 description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)"; 33 maintainers = with maintainers; [ rnhmjoj ]; 34 license = licenses.bsd3; 35 }; 36}