2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
2020-08-20 17:08:02 +00:00
|
|
|
, azure-core
|
2020-04-24 23:36:52 +00:00
|
|
|
, azure-storage-common
|
2020-08-20 17:08:02 +00:00
|
|
|
, msrest
|
2020-04-24 23:36:52 +00:00
|
|
|
, isPy3k
|
2021-04-26 19:14:03 +00:00
|
|
|
, futures ? null
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-blob";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "12.13.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
extension = "zip";
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-iZxLjiZxgS0s948QdVaifbsSjKqiuwYJTnKj1YNnQK8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
2020-08-20 17:08:02 +00:00
|
|
|
azure-core
|
2020-04-24 23:36:52 +00:00
|
|
|
azure-storage-common
|
2020-08-20 17:08:02 +00:00
|
|
|
msrest
|
2020-04-24 23:36:52 +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";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ cmcdragonkai maxwilson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|