1{ lib, fetchPypi, buildPythonPackage 2, nose, numpy, future 3}: 4 5buildPythonPackage rec { 6 pname = "uncertainties"; 7 version = "3.1.6"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0b9y0v73ih142bygi66dxqx17j2x4dfvl7xnhmafj9yjmymbakbw"; 12 }; 13 14 propagatedBuildInputs = [ future ]; 15 checkInputs = [ nose numpy ]; 16 17 checkPhase = "python setup.py nosetests -sv"; 18 19 meta = with lib; { 20 homepage = "https://pythonhosted.org/uncertainties/"; 21 description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)"; 22 maintainers = with maintainers; [ rnhmjoj ]; 23 license = licenses.bsd3; 24 }; 25}