2022-03-29 11:10:39 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
2019-12-21 05:01:41 +00:00
|
|
|
, aiohttp
|
|
|
|
, azure-common
|
|
|
|
, azure-core
|
|
|
|
, cryptography
|
|
|
|
, msrest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault-keys";
|
2022-03-29 10:24:07 +01:00
|
|
|
version = "4.5.0";
|
2022-03-29 11:10:39 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2019-12-21 05:01:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2022-03-29 11:10:39 +01:00
|
|
|
hash = "sha256-x1AhiARXZXcky3A+DJXoCrvkqsonlkgdrdr6es/VY3s=";
|
2019-12-21 05:01:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-core
|
|
|
|
msrest
|
|
|
|
cryptography
|
|
|
|
];
|
|
|
|
|
2022-03-29 11:10:39 +01:00
|
|
|
checkInputs = [
|
|
|
|
aiohttp
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonNamespaces = [
|
|
|
|
"azure.keyvault"
|
|
|
|
];
|
2020-03-17 22:43:56 +00:00
|
|
|
|
2019-12-21 05:01:41 +00:00
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|