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

25 lines
656 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, nose, numpy }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "uncertainties";
2018-01-20 12:00:24 +01:00
version = "3.0.2";
src = fetchPypi {
inherit pname version;
2018-01-20 12:00:24 +01:00
sha256 = "91db922d54dff6094b4ea0d6e058f713a992cdf42e3ebaf73278e1893bfa2942";
};
buildInputs = [ nose numpy ];
# No tests included
doCheck = false;
meta = with stdenv.lib; {
homepage = http://pythonhosted.org/uncertainties/;
description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)";
maintainers = with maintainers; [ rnhmjoj ];
license = licenses.bsd3;
};
}