42 lines
930 B
Nix
42 lines
930 B
Nix
{
|
|
lib,
|
|
azure-core,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isodate,
|
|
typing-extensions,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-ai-documentintelligence";
|
|
version = "1.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "azure_ai_documentintelligence";
|
|
inherit version;
|
|
hash = "sha256-TXWiUT8oOTZeurwODhdy9WAbOoyaceddoSRA2hO2NIQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
azure-core
|
|
isodate
|
|
typing-extensions
|
|
];
|
|
|
|
# Tests are not shipped
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "azure.ai.documentintelligence" ];
|
|
|
|
meta = {
|
|
description = "Azure AI Document Intelligence client library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/documentintelligence/azure-ai-documentintelligence/azure/ai/documentintelligence";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ drupol ];
|
|
};
|
|
}
|