blob: 037ec51a6462fd3cfd6d9e36bb33d3ab7987911c (
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
|
{ stdenv, buildPythonPackage, fetchPypi, python, isPy27
, azure-common
, azure-nspkg
, cryptography
, python-dateutil
, requests
, futures
}:
buildPythonPackage rec {
pname = "azure_multiapi_storage";
version = "0.2.1";
format = "wheel";
src = fetchPypi {
inherit pname version format;
sha256 = "091qz206v9k6vb2lvr7shlhjsln711gplg8rf5f3wx6z35i2i5h4";
};
propagatedBuildInputs = [
azure-common
azure-nspkg
cryptography
python-dateutil
requests
] ++ stdenv.lib.optional (isPy27) futures;
postFixup = ''
rm $out/${python.sitePackages}/azure/__init__.py
'';
doCheck = false;
meta = with stdenv.lib; {
description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
homepage = https://github.com/Azure/azure-multiapi-storage-python;
license = licenses.mit;
maintainers = with maintainers; [ stesie ];
};
}
|