2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
azure-keyvault-certificates,
|
|
|
|
azure-keyvault-keys,
|
|
|
|
azure-keyvault-secrets,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault";
|
2022-04-03 18:54:34 +00:00
|
|
|
version = "4.2.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2022-04-03 18:54:34 +00:00
|
|
|
hash = "sha256-cxrdEIo+KatP1QGjxHclbChsNNCZazg/tqOUVGKTN2E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-05-03 17:38:23 +00:00
|
|
|
azure-keyvault-certificates
|
2020-04-24 23:36:52 +00:00
|
|
|
azure-keyvault-keys
|
|
|
|
azure-keyvault-secrets
|
|
|
|
];
|
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
# this is just a meta package, which contains keys and secrets packages
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
2021-12-26 17:43:05 +00:00
|
|
|
doBuild = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.keyvault.keys"
|
|
|
|
"azure.keyvault.secrets"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Key Vault Client Library";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|