summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/azure-ai-documentintelligence/default.nix
blob: 9ecf3f8ffeec388bd1bfae22cda209a247550dbb (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  azure-core,
  buildPythonPackage,
  fetchPypi,
  isodate,
  typing-extensions,
  setuptools,
}:

buildPythonPackage rec {
  pname = "azure-ai-documentintelligence";
  version = "1.0.1";
  pyproject = true;

  src = fetchPypi {
    pname = "azure_ai_documentintelligence";
    inherit version;
    hash = "sha256-JG7E2VMWWFF1s49of/3hezlGICIa+Wb2Nc7BWoHFt8w=";
  };

  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 ];
  };
}