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

26 lines
667 B
Nix
Raw Normal View History

{ lib, stdenv, fetchPypi, buildPythonPackage
2020-07-14 19:46:47 +01:00
, nose, numpy, future
}:
buildPythonPackage rec {
pname = "uncertainties";
2020-12-05 19:52:09 +00:00
version = "3.1.5";
src = fetchPypi {
inherit pname version;
2020-12-05 19:52:09 +00:00
sha256 = "00z9xl40czmqk0vmxjvmjvwb41r893l4dad7nj1nh6blw3kw28li";
};
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 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;
};
}