Merge pull request #125485 from fabaff/pymeteoclimatic

python3Packages.pymeteoclimatic: init at 0.0.6
This commit is contained in:
Jörg Thalheim 2021-06-12 21:11:18 +02:00 committed by GitHub
commit e01c36046f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 1 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

@ -500,7 +500,7 @@
"met_eireann" = ps: with ps; [ pymeteireann ];
"meteo_france" = ps: with ps; [ ]; # missing inputs: meteofrance-api
"meteoalarm" = ps: with ps; [ meteoalertapi ];
"meteoclimatic" = ps: with ps; [ ]; # missing inputs: pymeteoclimatic
"meteoclimatic" = ps: with ps; [ pymeteoclimatic ];
"metoffice" = ps: with ps; [ ]; # missing inputs: datapoint
"mfi" = ps: with ps; [ ]; # missing inputs: mficlient
"mhz19" = ps: with ps; [ ]; # missing inputs: pmsensor

View file

@ -471,6 +471,7 @@ in with py.pkgs; buildPythonApplication rec {
"meraki"
"met"
"met_eireann"
"meteoclimatic"
"microsoft_face"
"microsoft_face_detect"
"microsoft_face_identify"

View file

@ -5998,6 +5998,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 { };