2019-10-23 08:15:49 +01:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, azure-common
|
2020-05-19 00:22:04 +01:00
|
|
|
, azure-core
|
2019-10-23 08:15:49 +01:00
|
|
|
, msrest
|
|
|
|
, msrestazure
|
2020-05-19 00:22:04 +01:00
|
|
|
, requests
|
2019-10-23 08:15:49 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-19 00:22:04 +01:00
|
|
|
version = "0.3.2";
|
2019-10-23 08:15:49 +01:00
|
|
|
pname = "azure-multiapi-storage";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-19 00:22:04 +01:00
|
|
|
sha256 = "c403a47e40e4a80d9c42c854993f5c07f12c2a75bd9a85ba8225985493a9b792";
|
2019-10-23 08:15:49 +01:00
|
|
|
};
|
|
|
|
|
2020-05-19 00:22:04 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-core
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
requests
|
|
|
|
];
|
2019-10-23 08:15:49 +01:00
|
|
|
|
2020-03-17 22:43:56 +00:00
|
|
|
# fix namespace
|
|
|
|
pythonNamespaces = [ "azure.multiapi" ];
|
2019-10-23 08:15:49 +01:00
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.multiapi.storage" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|