Skip to content

Commit

Permalink
pythonPackages.uncertainties: move to development/python-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rnhmjoj committed Jun 1, 2017
1 parent 0cbcb95 commit 5ae61ce
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/python-modules/uncertainties/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
22 changes: 1 addition & 21 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28148,27 +28148,7 @@ EOF
};


uncertainties = buildPythonPackage rec {
name = "uncertainties-${version}";
version = "3.0.1";

src = pkgs.fetchurl {
url = "mirror://pypi/u/uncertainties/${name}.tar.gz";
sha256 = "de0765cac6911e5afa93ee941063a07b4a98dbd9c314c5eea4ab14bfff0054a4";
};

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;
};

# No tests included
doCheck = false;
};

uncertainties = callPackage ../development/python-modules/uncertainties { };

funcy = buildPythonPackage rec {
name = "funcy-1.6";
Expand Down

0 comments on commit 5ae61ce

Please sign in to comment.