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

26 lines
669 B
Nix
Raw Normal View History

2020-07-14 19:46:47 +01:00
{ stdenv, fetchPypi, buildPythonPackage
, nose, numpy, future
}:
buildPythonPackage rec {
pname = "uncertainties";
2020-07-14 19:46:47 +01:00
version = "3.1.4";
src = fetchPypi {
inherit pname version;
2020-07-14 19:46:47 +01:00
sha256 = "0s69kdhl8vhqazhxqdvb06l83x0iqdm0yr4vp3p52alzi6a8lm33";
};
2020-07-14 19:46:47 +01:00
propagatedBuildInputs = [ future ];
checkInputs = [ nose numpy ];
2020-07-14 19:46:47 +01:00
checkPhase = "python setup.py nosetests -sv";
meta = with stdenv.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;
};
}