2019-01-21 01:20:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, azure-common
|
|
|
|
, cryptography
|
|
|
|
, python-dateutil
|
|
|
|
, requests
|
|
|
|
, isPy3k
|
|
|
|
, azure-storage-nspkg
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-common";
|
2019-10-24 06:47:25 +00:00
|
|
|
version = "2.1.0";
|
2019-01-21 01:20:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:25 +00:00
|
|
|
sha256 = "ccedef5c67227bc4d6670ffd37cec18fb529a1b7c3a5e53e4096eb0cf23dc73f";
|
2019-01-21 01:20:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
cryptography
|
|
|
|
python-dateutil
|
|
|
|
requests
|
|
|
|
] ++ lib.optional (!isPy3k) azure-storage-nspkg;
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Client library for Microsoft Azure Storage services containing common code shared by blob, file and queue";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-01-21 01:20:03 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cmcdragonkai ];
|
|
|
|
};
|
|
|
|
}
|