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-11-28 17:45:50 +01:00
|
|
|
version = "12.6.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-11-28 17:45:50 +01:00
|
|
|
sha256 = "dc7832d48ae3f5b31a0b24191084ce6ef7d8dfbf73e553dfe34eaddcb6813be3";
|
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;
|
2020-11-15 15:35:46 +01:00
|
|
|
maintainers = with maintainers; [ cmcdragonkai maxwilson ];
|
2019-01-21 02:21:34 +01:00
|
|
|
};
|
|
|
|
}
|