mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
4f2345e5fa
Diff: https://github.com/YoSmart-Inc/yolink-api/compare/refs/tags/v0.4.6...v0.4.7 Changelog: https://github.com/YoSmart-Inc/yolink-api/releases/tag/v0.4.7
49 lines
930 B
Nix
49 lines
930 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aiomqtt,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pydantic,
|
|
pythonOlder,
|
|
setuptools,
|
|
tenacity,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yolink-api";
|
|
version = "0.4.7";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "YoSmart-Inc";
|
|
repo = "yolink-api";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-VJqKORyAlTBIRsHaeUrLDuvVAU/EX/Zzh8u7xxmD2IE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
aiomqtt
|
|
pydantic
|
|
tenacity
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "yolink" ];
|
|
|
|
meta = with lib; {
|
|
description = "Library to interface with Yolink";
|
|
homepage = "https://github.com/YoSmart-Inc/yolink-api";
|
|
changelog = "https://github.com/YoSmart-Inc/yolink-api/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|