python3Packages.python-google-weather-api: init at 0.0.4
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
mashumaro,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-google-weather-api";
|
||||
version = "0.0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tronikos";
|
||||
repo = "python-google-weather-api";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5ljKaIwG78oufb0iRaqTY46wxelAiuQUvhmRbZWo5Fk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
mashumaro
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "google_weather_api" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/tronikos/python-google-weather-api/releases/tag/${src.tag}";
|
||||
description = "Python client library for the Google Weather API";
|
||||
homepage = "https://github.com/tronikos/python-google-weather-api";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -15169,6 +15169,8 @@ self: super: with self; {
|
||||
|
||||
python-google-nest = callPackage ../development/python-modules/python-google-nest { };
|
||||
|
||||
python-google-weather-api = callPackage ../development/python-modules/python-google-weather-api { };
|
||||
|
||||
python-gvm = callPackage ../development/python-modules/python-gvm { };
|
||||
|
||||
python-hcl2 = callPackage ../development/python-modules/python-hcl2 { };
|
||||
|
||||
Reference in New Issue
Block a user