mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
8459d1146f
Diff: jeeftor/weatherflow4py@refs/tags/v1.0.6...v1.2.0 Changelog: https://github.com/jeeftor/weatherflow4py/releases/tag/v1.2.0
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
buildPythonPackage,
|
|
dataclasses-json,
|
|
fetchFromGitHub,
|
|
marshmallow,
|
|
poetry-core,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "weatherflow4py";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeeftor";
|
|
repo = "weatherflow4py";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-NOruMysLm0Pu2fsaA/qCNdeCTacomvJ51oqI8V2WFWI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|