python3Packages.pymeteoclimatic: init at 0.0.6

This commit is contained in:
Fabian Affolter 2021-06-03 13:16:56 +02:00
parent b94e1977e0
commit 61543790d3
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, lxml
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pymeteoclimatic";
version = "0.0.6";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "adrianmo";
repo = pname;
rev = version;
sha256 = "0ys0d6jy7416gbsd0pqgvm5ygzn36pjdaklqi4q56vsb13zn7y0h";
};
propagatedBuildInputs = [
beautifulsoup4
lxml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "meteoclimatic" ];
meta = with lib; {
description = "Python wrapper around the Meteoclimatic service";
homepage = "https://github.com/adrianmo/pymeteoclimatic";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5996,6 +5996,8 @@ in {
pymeteireann = callPackage ../development/python-modules/pymeteireann { };
pymeteoclimatic = callPackage ../development/python-modules/pymeteoclimatic { };
pymetno = callPackage ../development/python-modules/pymetno { };
pymitv = callPackage ../development/python-modules/pymitv { };