depot/third_party/nixpkgs/pkgs/development/python-modules/azure-keyvault-keys/default.nix
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

59 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aiohttp
, azure-common
, azure-core
, cryptography
, msrest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "azure-keyvault-keys";
version = "4.8.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-bAuy94MgKjSj5ex0hm5iEuWRrHEk8DuWadGwm2giS8Q=";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
cryptography
];
nativeCheckInputs = [
aiohttp
pytestCheckHook
];
pythonNamespaces = [
"azure.keyvault"
];
# requires relative paths to utilities in the mono-repo
doCheck = false;
pythonImportsCheck = [
"azure"
"azure.core"
"azure.common"
"azure.keyvault"
"azure.keyvault.keys"
];
meta = with lib; {
description = "Microsoft Azure Key Vault Keys Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}