From 7e4e671c54038eca7e86b09ef94f10651aad85ce Mon Sep 17 00:00:00 2001 From: Marcell Vazquez-Chanlatte Date: Wed, 18 Feb 2015 11:27:47 -0600 Subject: Add uncertainties python package --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'pkgs/top-level') diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b49048d226f0..10e56be1f284 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13143,6 +13143,24 @@ let }; }; + uncertainties = buildPythonPackage rec { + name = "uncertainties-2.4.6.1"; + + src = pkgs.fetchurl { + url = "https://github.com/lebigot/uncertainties/archive/2.4.6.1.tar.gz"; + sha256 = "993ad1a380185ff9548510401ed89fe96cf1f18ca48b44657356c8dcd3ad5032"; + }; + + buildInputs = with self; [ nose numpy ]; + + meta = { + homepage = "http://pythonhosted.org/uncertainties/"; + description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)"; + license = licenses.bsd3; + }; + }; + + # python2.7 specific packages } // optionalAttrs isPy27 ( with self; -- cgit 1.4.1