Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ 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 ]; };}