Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
azure-common,
azure-core,
isodate,
gitUpdater,
}:
buildPythonPackage rec {
pname = "azure-search-documents";
version = "11.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "Azure";
repo = "azure-sdk-for-python";
tag = "azure_search_documents_${version}";
hash = "sha256-RcVdqI50lsYed9L6Kz7faNLec1Y9zq685SGnwaEw6Qc=";
};
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;
passthru = {
# multiple packages in the repo and the updater picks the wrong tag
skipBulkUpdate = true;
updateScript = gitUpdater { rev-prefix = "azure.search.documents_"; };
};
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.tag}/sdk/search/azure-search-documents/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}