python311Packages.azure-search-documents: init at 11.4.0

This commit is contained in:
natsukium
2024-07-13 10:16:00 +09:00
parent f9d8021398
commit 9950cee413
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
azure-common,
azure-core,
isodate,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "azure-search-documents";
version = "11.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Azure";
repo = "azure-sdk-for-python";
rev = "azure-search-documents_${version}";
hash = "sha256-0J9AXDH7TOkcKDwFbICiMatLAwiFq3Jtoji8fJSOg8k=";
};
sourceRoot = "${src.name}/sdk/search/azure-search-documents";
build-system = [ setuptools ];
dependencies = [
azure-common
azure-core
isodate
];
pythonImportsCheck = [ "azure.search.documents" ];
# require devtools_testutils which is a internal package for azure-sdk
doCheck = false;
meta = {
description = "Microsoft Azure Cognitive Search Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/search/azure-search-documents";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/${src.rev}/sdk/search/azure-search-documents/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}
+2
View File
@@ -1302,6 +1302,8 @@ self: super: with self; {
azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };
azure-search-documents = callPackage ../development/python-modules/azure-search-documents { };
azure-servicebus = callPackage ../development/python-modules/azure-servicebus { };
azure-servicefabric = callPackage ../development/python-modules/azure-servicefabric { };