summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/azure-storage-file/default.nix
blob: 440ba22c21ae566ef54884b109df2b245a2ddc69 (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
42
43
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  azure-common,
  azure-storage-common,
  isPy3k,
  futures ? null,
}:

buildPythonPackage (finalAttrs: {
  pname = "azure-storage-file";
  version = "2.1.0";
  pyproject = true;

  __structuredAttrs = true;

  src = fetchPypi {
    inherit (finalAttrs) pname version;
    hash = "sha256-NVm5x6sTRQxm6oM+uCwoIzvuJPG9jKGap9J/jCPVvFM=";
  };

  build-system = [ setuptools ];

  dependencies = [
    azure-common
    azure-storage-common
  ]
  ++ lib.optional (!isPy3k) futures;

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "azure.storage.file" ];

  meta = {
    description = "Client library for Microsoft Azure Storage services containing the file service APIs";
    homepage = "https://github.com/Azure/azure-sdk-for-python";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ cmcdragonkai ];
  };
})