2019-01-21 02:21:34 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
|
|
|
, azure-storage-common
|
|
|
|
, isPy3k
|
|
|
|
, futures
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-blob";
|
2019-04-08 20:54:38 +02:00
|
|
|
version = "1.5.0";
|
2019-01-21 02:21:34 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-08 20:54:38 +02:00
|
|
|
sha256 = "0b15dzy75fml994gdfmaw5qcyij15gvh968mk3hg94d1wxwai1zi";
|
2019-01-21 02:21:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-storage-common
|
|
|
|
] ++ lib.optional (!isPy3k) futures;
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Client library for Microsoft Azure Storage services containing the blob service APIs";
|
|
|
|
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-blob;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cmcdragonkai ];
|
|
|
|
};
|
|
|
|
}
|