2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchPypi
|
|
|
|
, aiohttp
|
|
|
|
, azure-common
|
|
|
|
, azure-core
|
|
|
|
, azure-nspkg
|
|
|
|
, cryptography
|
|
|
|
, msrest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault-keys";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "4.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "e47b76ca5d99b12436c64ce4431271cd6744fba017f282991b84ce303e0b9eaa";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-core
|
|
|
|
msrest
|
|
|
|
cryptography
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonNamespaces = [ "azure.keyvault" ];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|