about summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-storage-common/default.nix
blob: 6561163c3a2b51e713b3b7de2c12fc5955eaa199 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, azure-common
, cryptography
, python-dateutil
, requests
, isPy3k
, azure-storage-nspkg
}:

buildPythonPackage rec {
  pname = "azure-storage-common";
  version = "1.4.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "7ab607f9b8fd27b817482194b1e7d43484c65dcf2605aae21ad8706c6891934d";
  };

  propagatedBuildInputs = [
    azure-common
    cryptography
    python-dateutil
    requests
  ] ++ lib.optional (!isPy3k) azure-storage-nspkg;

  # has no tests
  doCheck = false;

  meta = with lib; {
    description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
    homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-common;
    license = licenses.mit;
    maintainers = with maintainers; [ cmcdragonkai ];
  };
}