depot/third_party/nixpkgs/pkgs/development/python-modules/lmcloud/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

48 lines
913 B
Nix

{
lib,
authlib,
bleak,
buildPythonPackage,
fetchFromGitHub,
httpx,
pythonOlder,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "lmcloud";
version = "1.1.11";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "zweckj";
repo = "lmcloud";
rev = "refs/tags/v${version}";
hash = "sha256-NuqWzlTkarrLXgYV4Zzwlb++rV+6cpG97YZnDwi0m98=";
};
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 ];
};
}