1{
2 lib,
3 azure-core,
4 buildPythonPackage,
5 fetchPypi,
6 isodate,
7 typing-extensions,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-ai-documentintelligence";
13 version = "1.0.2";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "azure_ai_documentintelligence";
18 inherit version;
19 hash = "sha256-TXWiUT8oOTZeurwODhdy9WAbOoyaceddoSRA2hO2NIQ=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 azure-core
26 isodate
27 typing-extensions
28 ];
29
30 # Tests are not shipped
31 doCheck = false;
32
33 pythonImportsCheck = [ "azure.ai.documentintelligence" ];
34
35 meta = {
36 description = "Azure AI Document Intelligence client library for Python";
37 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/documentintelligence/azure-ai-documentintelligence/azure/ai/documentintelligence";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ ];
40 };
41}