
https://github.com/abmantis/whirlpool-sixth-sense/compare/refs/tags/0.20.0...refs/tags/0.21.1
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
aioconsole,
|
|
aiohttp,
|
|
aioresponses,
|
|
async-timeout,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-asyncio,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "whirlpool-sixth-sense";
|
|
version = "0.21.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "abmantis";
|
|
repo = "whirlpool-sixth-sense";
|
|
tag = version;
|
|
hash = "sha256-uhqDm6BOUX6Ov4580EmBOD4si9BsMvnsvEmA/DbKE7M=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aioconsole
|
|
aiohttp
|
|
async-timeout
|
|
websockets
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytest-mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "whirlpool" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for Whirlpool 6th Sense appliances";
|
|
homepage = "https://github.com/abmantis/whirlpool-sixth-sense/";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|