depot/third_party/nixpkgs/pkgs/development/python-modules/uncertainties/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
659 B
Nix

{ lib, fetchPypi, buildPythonPackage
, nose, numpy, future
}:
buildPythonPackage rec {
pname = "uncertainties";
version = "3.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "00z9xl40czmqk0vmxjvmjvwb41r893l4dad7nj1nh6blw3kw28li";
};
propagatedBuildInputs = [ future ];
checkInputs = [ nose numpy ];
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;
};
}