mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #294274 from fabaff/weatherflow4py
python311Packages.weatherflow4py: init at 0.2.20
This commit is contained in:
commit
87d9ad30ad
54
pkgs/development/python-modules/weatherflow4py/default.nix
Normal file
54
pkgs/development/python-modules/weatherflow4py/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
dataclasses-json,
|
||||
fetchFromGitHub,
|
||||
marshmallow,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
websockets,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weatherflow4py";
|
||||
version = "0.2.20";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jeeftor";
|
||||
repo = "weatherflow4py";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kkNGhFhciOfhrbjxLM01YC2IRmkdKEbk4EUyDJZJuxU=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
dataclasses-json
|
||||
marshmallow
|
||||
websockets
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "weatherflow4py" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with the WeatherFlow REST API";
|
||||
homepage = "https://github.com/jeeftor/weatherflow4py";
|
||||
changelog = "https://github.com/jeeftor/weatherflow4py/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4896,7 +4896,8 @@
|
||||
pyweatherflowudp
|
||||
];
|
||||
"weatherflow_cloud" = ps: with ps; [
|
||||
]; # missing inputs: weatherflow4py
|
||||
weatherflow4py
|
||||
];
|
||||
"weatherkit" = ps: with ps; [
|
||||
apple-weatherkit
|
||||
];
|
||||
@ -5974,6 +5975,7 @@
|
||||
"waze_travel_time"
|
||||
"weather"
|
||||
"weatherflow"
|
||||
"weatherflow_cloud"
|
||||
"weatherkit"
|
||||
"webhook"
|
||||
"webostv"
|
||||
|
@ -16842,6 +16842,8 @@ self: super: with self; {
|
||||
|
||||
weasyprint = callPackage ../development/python-modules/weasyprint { };
|
||||
|
||||
weatherflow4py = callPackage ../development/python-modules/weatherflow4py { };
|
||||
|
||||
weaviate-client = callPackage ../development/python-modules/weaviate-client { };
|
||||
|
||||
web3 = callPackage ../development/python-modules/web3 { };
|
||||
|
Loading…
Reference in New Issue
Block a user