2020-01-24 02:52:21 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, lib
|
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, azure-core
|
|
|
|
, cryptography
|
|
|
|
, msrest
|
2021-03-24 16:45:56 +00:00
|
|
|
, futures ? null
|
2020-01-24 02:52:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-file-share";
|
2021-05-06 05:38:24 +00:00
|
|
|
version = "12.4.2";
|
2020-01-24 02:52:21 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-05-06 05:38:24 +00:00
|
|
|
sha256 = "6c458d1e3db38fdd502d8f77107c81e6859654f02c0e7f2a98214289d9e0dde2";
|
2020-01-24 02:52:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-core
|
|
|
|
cryptography
|
|
|
|
msrest
|
|
|
|
];
|
|
|
|
|
|
|
|
# requires checkout from monorepo
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.core"
|
|
|
|
"azure.storage"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure File Share Storage Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
kamadorueda
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|