1{ stdenv, fetchPypi, buildPythonPackage, nose, numpy }:
2
3buildPythonPackage rec {
4 name = "${pname}-${version}";
5 pname = "uncertainties";
6 version = "3.0.2";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "91db922d54dff6094b4ea0d6e058f713a992cdf42e3ebaf73278e1893bfa2942";
11 };
12
13 buildInputs = [ nose numpy ];
14
15 # No tests included
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 homepage = http://pythonhosted.org/uncertainties/;
20 description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)";
21 maintainers = with maintainers; [ rnhmjoj ];
22 license = licenses.bsd3;
23 };
24}