depot/third_party/nixpkgs/pkgs/development/python-modules/lmcloud/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

48 lines
914 B
Nix

{
lib,
authlib,
bleak,
buildPythonPackage,
fetchFromGitHub,
httpx,
pythonOlder,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "lmcloud";
version = "1.1.13";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "zweckj";
repo = "lmcloud";
rev = "refs/tags/v.${version}";
hash = "sha256-byZtmyZcvr39hKzamGjSunMeVE2C19QtwF4u78k+YOY=";
};
build-system = [ setuptools ];
dependencies = [
authlib
bleak
httpx
websockets
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "lmcloud" ];
meta = with lib; {
description = "Library to interface with La Marzocco's cloud";
homepage = "https://github.com/zweckj/lmcloud";
changelog = "https://github.com/zweckj/lmcloud/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}