2019-01-21 02:21:34 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
2020-08-17 07:09:02 +02:00
|
|
|
, azure-core
|
2019-01-21 02:21:34 +01:00
|
|
|
, azure-storage-common
|
2020-08-17 07:09:02 +02:00
|
|
|
, msrest
|
2019-01-21 02:21:34 +01:00
|
|
|
, isPy3k
|
|
|
|
, futures
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-blob";
|
2020-09-28 19:14:40 +02:00
|
|
|
version = "12.5.0";
|
2019-01-21 02:21:34 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-17 07:09:02 +02:00
|
|
|
extension = "zip";
|
2020-09-28 19:14:40 +02:00
|
|
|
sha256 = "1469a5a0410296fb5ff96c326618d939c9cb0c0ea45eb931c89c98fa742d8daa";
|
2019-01-21 02:21:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
2020-08-17 07:09:02 +02:00
|
|
|
azure-core
|
2019-01-21 02:21:34 +01:00
|
|
|
azure-storage-common
|
2020-08-17 07:09:02 +02:00
|
|
|
msrest
|
2019-01-21 02:21:34 +01:00
|
|
|
] ++ 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";
|
2019-10-19 18:47:11 +02:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-01-21 02:21:34 +01:00
|
|
|
license = licenses.mit;
|
2019-04-29 23:29:58 +02:00
|
|
|
maintainers = with maintainers; [ cmcdragonkai mwilsoninsight ];
|
2019-01-21 02:21:34 +01:00
|
|
|
};
|
|
|
|
}
|