159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
54 lines
1,012 B
Nix
54 lines
1,012 B
Nix
{
|
|
lib,
|
|
authlib,
|
|
bleak,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
httpx,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
syrupy,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lmcloud";
|
|
version = "1.2.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zweckj";
|
|
repo = "pylamarzocco";
|
|
rev = "refs/tags/v.${version}";
|
|
hash = "sha256-iRxn4xAP5b/2byeWbYm6mQwAu1TUmJgOVEqm/bZT9Xw=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
authlib
|
|
bleak
|
|
httpx
|
|
websockets
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
pythonImportsCheck = [ "lmcloud" ];
|
|
|
|
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/v.${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|