python3Packages.lark-oapi: init at 1.6.8 (#531542)

This commit is contained in:
Sizhe Zhao
2026-06-20 11:50:24 +00:00
committed by GitHub
3 changed files with 61 additions and 0 deletions
+6
View File
@@ -14591,6 +14591,12 @@
github = "svelterust";
githubId = 85593302;
};
knightfemale = {
email = "2067834160@qq.com";
github = "knightfemale";
githubId = 124773040;
name = "";
};
knightpp = {
email = "knightpp@proton.me";
github = "knightpp";
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
httpx,
pycryptodome,
pytest-asyncio,
pytestCheckHook,
requests,
requests-toolbelt,
websockets,
}:
buildPythonPackage (finalAttrs: {
pname = "lark-oapi";
version = "1.6.8";
pyproject = true;
src = fetchFromGitHub {
owner = "larksuite";
repo = "oapi-sdk-python";
tag = "v${finalAttrs.version}";
hash = "sha256-dFfg24TyCaGX+nu/HuD+UjHibdPMccn/X4V6SVdvO60=";
};
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 ];
};
})
+2
View File
@@ -8686,6 +8686,8 @@ self: super: with self; {
lark = callPackage ../development/python-modules/lark { };
lark-oapi = callPackage ../development/python-modules/lark-oapi { };
laspy = callPackage ../development/python-modules/laspy { };
lastversion = callPackage ../development/python-modules/lastversion { };