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-05-30 07:49:48 +01:00
|
|
|
version = "1.4.2";
|
2019-01-21 01:20:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 07:49:48 +01:00
|
|
|
sha256 = "4ec87c7537d457ec95252e0e46477e2c1ccf33774ffefd05d8544682cb0ae401";
|
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";
|
|
|
|
homepage = https://github.com/Azure/azure-storage-python/tree/master/azure-storage-common;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cmcdragonkai ];
|
|
|
|
};
|
|
|
|
}
|