2020-01-24 02:52:21 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, lib
|
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, azure-core
|
|
|
|
, cryptography
|
|
|
|
, msrest
|
|
|
|
, futures
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-storage-file-share";
|
2020-03-24 23:08:44 +00:00
|
|
|
version = "12.1.1";
|
2020-01-24 02:52:21 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-03-24 23:08:44 +00:00
|
|
|
sha256 = "661ed9669b9fbb3163899294d28f11f7c135336e1513aab6bd1ff9ef3c6febb3";
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|