2019-12-21 05:01:41 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchPypi
|
|
|
|
, aiohttp
|
|
|
|
, azure-common
|
|
|
|
, azure-core
|
|
|
|
, azure-nspkg
|
|
|
|
, cryptography
|
|
|
|
, msrest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault-keys";
|
2020-12-06 22:23:55 +00:00
|
|
|
version = "4.3.1";
|
2019-12-21 05:01:41 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-12-06 22:23:55 +00:00
|
|
|
sha256 = "fbf67bca913ebf68b9075ee9d2e2b899dc3c7892cc40abfe1b08220a382f6ed9";
|
2019-12-21 05:01:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-core
|
|
|
|
msrest
|
|
|
|
cryptography
|
|
|
|
];
|
|
|
|
|
2020-03-17 22:43:56 +00:00
|
|
|
pythonNamespaces = [ "azure.keyvault" ];
|
|
|
|
|
2019-12-21 05:01:41 +00:00
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|