Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, setuptools, httpx, pycryptodome, pytest-asyncio, pytestCheckHook, requests, requests-toolbelt, websockets,}:
buildPythonPackage (finalAttrs: { pname = "lark-oapi"; version = "1.7.5"; pyproject = true;
src = fetchFromGitHub { owner = "larksuite"; repo = "oapi-sdk-python"; tag = "v${finalAttrs.version}"; hash = "sha256-NR/6xYWrhBhAGTj09i57qqR5zIYqSJPHfoT7gBokBdc="; };
build-system = [ setuptools ];
dependencies = [ httpx pycryptodome requests requests-toolbelt websockets ];
# websockets 16.0 is compatible despite the <16 metadata constraint pythonRelaxDeps = [ "websockets" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "lark_oapi" ];
meta = { description = "Larksuite development interface SDK"; homepage = "https://github.com/larksuite/oapi-sdk-python"; license = lib.licenses.mit; maintainers = [ lib.maintainers.knightfemale ]; };})