f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|