Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchPypi, buildPythonPackage 2, nose, numpy, future 3}: 4 5buildPythonPackage rec { 6 pname = "uncertainties"; 7 version = "3.1.4"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0s69kdhl8vhqazhxqdvb06l83x0iqdm0yr4vp3p52alzi6a8lm33"; 12 }; 13 14 propagatedBuildInputs = [ future ]; 15 checkInputs = [ nose numpy ]; 16 17 checkPhase = "python setup.py nosetests -sv"; 18 19 meta = with stdenv.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}