summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2017-06-02 09:05:50 +0200
committerGitHub <noreply@github.com>2017-06-02 09:05:50 +0200
commit1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f (patch)
tree4d164e7fa6be79583ad49e38e91b9b9e13e21691 /pkgs/development/python-modules
parent68faf5d5e5e1583568f9f14a6dbc5dacb3334e7d (diff)
parent5ae61ce156d9b7d77f09ecd87dc86f31119e2a8f (diff)
downloadnixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.tar
nixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.tar.gz
nixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.tar.bz2
nixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.tar.lz
nixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.tar.xz
nixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.tar.zst
nixpkgs-1606bd2a17b0807ff45cc8ab7ea4082c8cc81e8f.zip
Merge pull request #26308 from rnhmjoj/uncertainties
pythonPackages.uncertainties: move to development/python-modules
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/uncertainties/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/uncertainties/default.nix b/pkgs/development/python-modules/uncertainties/default.nix
new file mode 100644
index 00000000000..a0aa1478944
--- /dev/null
+++ b/pkgs/development/python-modules/uncertainties/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchPypi, buildPythonPackage, nose, numpy }:
+
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "uncertainties";
+  version = "3.0.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "de0765cac6911e5afa93ee941063a07b4a98dbd9c314c5eea4ab14bfff0054a4";
+  };
+
+  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)";
+    maintainer = with maintainers; [ rnhmjoj ];
+    license = licenses.bsd3;
+  };
+}