nixpkgs/pkgs/development/python-modules/uncertainties/default.nix

26 lines
659 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage
2020-07-14 18:46:47 +00:00
, nose, numpy, future
}:
buildPythonPackage rec {
pname = "uncertainties";
version = "3.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "0b9y0v73ih142bygi66dxqx17j2x4dfvl7xnhmafj9yjmymbakbw";
};
2020-07-14 18:46:47 +00:00
propagatedBuildInputs = [ future ];
checkInputs = [ nose numpy ];
2020-07-14 18:46:47 +00:00
checkPhase = "python setup.py nosetests -sv";
meta = with lib; {
homepage = "https://pythonhosted.org/uncertainties/";
description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)";
maintainers = with maintainers; [ rnhmjoj ];
license = licenses.bsd3;
};
}