2019-01-21 01:21:34 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
2020-08-17 05:09:02 +00:00
|
|
|
, azure-core
|
2019-01-21 01:21:34 +00:00
|
|
|
, azure-storage-common
|
2020-08-17 05:09:02 +00:00
|
|
|
, msrest
|
2019-01-21 01:21:34 +00:00
|
|
|
, isPy3k
|
2021-03-24 16:45:56 +00:00
|
|
|
, futures ? null
|
2019-01-21 01:21:34 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-blob";
|
2021-05-06 05:38:24 +00:00
|
|
|
version = "12.8.1";
|
2019-01-21 01:21:34 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-17 05:09:02 +00:00
|
|
|
extension = "zip";
|
2021-05-06 05:38:24 +00:00
|
|
|
sha256 = "eb37b50ddfb6e558b29f6c8c03b0666514e55d6170bf4624e7261a3af93c6401";
|
2019-01-21 01:21:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
2020-08-17 05:09:02 +00:00
|
|
|
azure-core
|
2019-01-21 01:21:34 +00:00
|
|
|
azure-storage-common
|
2020-08-17 05:09:02 +00: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 16:47:11 +00: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
|
|
|
};
|
|
|
|
}
|