python3Packages.azure-keyvault-keys: init at 4.0.0

This commit is contained in:
Jonathan Ringer 2019-12-20 21:01:41 -08:00 committed by Frederik Rietdijk
parent e1b79e394f
commit 9476c5a0b0
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib, buildPythonPackage, isPy27, fetchPypi
, aiohttp
, azure-common
, azure-core
, azure-nspkg
, cryptography
, msrest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "azure-keyvault-keys";
version = "4.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1l1fwm8plzr5zbv02nlvs0i8ssmd88cxm5lb19i54b3scci77hiq";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
cryptography
];
# requires relative paths to utilities in the mono-repo
doCheck = false;
checkInputs = [ aiohttp pytestCheckHook ];
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 ];
};
}

View File

@ -284,6 +284,8 @@ in {
azure-keyvault = callPackage ../development/python-modules/azure-keyvault { };
azure-keyvault-keys = callPackage ../development/python-modules/azure-keyvault-keys { };
azure-loganalytics = callPackage ../development/python-modules/azure-loganalytics { };
azure-servicebus = callPackage ../development/python-modules/azure-servicebus { };