Diff: https://github.com/zweckj/pylamarzocco/compare/refs/tags/v1.4.7...v1.4.9 Changelog: https://github.com/zweckj/pylamarzocco/releases/tag/v1.4.9
53 lines
994 B
Nix
53 lines
994 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
bleak,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylamarzocco";
|
|
version = "1.4.9";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zweckj";
|
|
repo = "pylamarzocco";
|
|
tag = "v${version}";
|
|
hash = "sha256-rEN1z+gkQjWjDkISdnn0KsxVzzPSKGPI/+VeYclIvkI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
bleak
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
pythonImportsCheck = [ "pylamarzocco" ];
|
|
|
|
meta = with lib; {
|
|
description = "Library to interface with La Marzocco's cloud";
|
|
homepage = "https://github.com/zweckj/pylamarzocco";
|
|
changelog = "https://github.com/zweckj/pylamarzocco/releases/tag/${src.tag}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|