depot/third_party/nixpkgs/pkgs/development/python-modules/azure-storage-file-share/default.nix

46 lines
854 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, isPy3k
, lib
# pythonPackages
, azure-core
, cryptography
, msrest
, futures ? null
}:
buildPythonPackage rec {
pname = "azure-storage-file-share";
version = "12.4.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7503d05882970abc977529ff5a4b81e79f62fd51b238fe306f72e13f57a522ca";
};
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
];
};
}