2019-01-21 01:21:34 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
2020-08-17 06:09:02 +01:00
|
|
|
, azure-core
|
2019-01-21 01:21:34 +00:00
|
|
|
, azure-storage-common
|
2020-08-17 06:09:02 +01:00
|
|
|
, msrest
|
2019-01-21 01:21:34 +00:00
|
|
|
, isPy3k
|
|
|
|
, futures
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-blob";
|
2020-11-28 16:45:50 +00:00
|
|
|
version = "12.6.0";
|
2019-01-21 01:21:34 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-17 06:09:02 +01:00
|
|
|
extension = "zip";
|
2020-11-28 16:45:50 +00:00
|
|
|
sha256 = "dc7832d48ae3f5b31a0b24191084ce6ef7d8dfbf73e553dfe34eaddcb6813be3";
|
2019-01-21 01:21:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
2020-08-17 06:09:02 +01:00
|
|
|
azure-core
|
2019-01-21 01:21:34 +00:00
|
|
|
azure-storage-common
|
2020-08-17 06:09:02 +01:00
|
|
|
msrest
|
2019-01-21 01:21:34 +00: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 17:47:11 +01:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-01-21 01:21:34 +00:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ cmcdragonkai maxwilson ];
|
2019-01-21 01:21:34 +00:00
|
|
|
};
|
|
|
|
}
|