depot/third_party/nixpkgs/pkgs/development/python-modules/uncertainties/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

27 lines
652 B
Nix

{ lib, fetchPypi, buildPythonPackage
, nose, numpy, future
}:
buildPythonPackage rec {
pname = "uncertainties";
version = "3.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-gBEeCDnyOcWyM8tHcgF7SDoLehVzpYG5Krd0ajXm+qs=";
};
propagatedBuildInputs = [ future ];
checkInputs = [ nose numpy ];
checkPhase = ''
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;
};
}