2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchPypi
|
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
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "4.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "69002a546921a8290eb54d9a3805cfc515c321bc1d4c0bfcfb463620245eca40";
|
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;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|