Files
nix-config/packages/python/pyvesync/default.nix
mjallen18 7e85953133 up
2026-03-03 10:42:08 -06:00

39 lines
891 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonPackage rec {
pname = "pyvesync";
version = "3.4.1";
pyproject = true;
disabled = python3Packages.pythonOlder "3.11";
src = fetchFromGitHub {
owner = "webdjoe";
repo = "pyvesync";
rev = version;
hash = "sha256-iqOKBpP/TYgbs6Tq+eWhxBCu/bHYRELXY7r4zjEXU3Q=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
aiohttp
mashumaro
python-dateutil
];
# pythonImportsCheck = [ "pyvesync" ];
meta = with lib; {
description = "Python library to manage Etekcity Devices and Levoit Air Purifier";
homepage = "https://github.com/webdjoe/pyvesync";
changelog = "https://github.com/webdjoe/pyvesync/releases/tag/${src.tag}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}