2019-12-21 05:14:09 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchPypi
|
2020-04-22 21:58:35 +00:00
|
|
|
, azure-keyvault-certificates
|
2019-12-21 05:14:09 +00:00
|
|
|
, azure-keyvault-keys
|
|
|
|
, azure-keyvault-secrets
|
2019-04-29 21:54:49 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault";
|
2020-04-22 21:58:35 +00:00
|
|
|
version = "4.1.0";
|
2019-12-21 05:14:09 +00:00
|
|
|
disabled = isPy27;
|
2019-04-29 21:54:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-04-22 21:58:35 +00:00
|
|
|
sha256 = "69002a546921a8290eb54d9a3805cfc515c321bc1d4c0bfcfb463620245eca40";
|
2019-04-29 21:54:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-04-22 21:58:35 +00:00
|
|
|
azure-keyvault-certificates
|
2019-12-21 05:14:09 +00:00
|
|
|
azure-keyvault-keys
|
|
|
|
azure-keyvault-secrets
|
2019-04-29 21:54:49 +00:00
|
|
|
];
|
|
|
|
|
2019-12-21 05:14:09 +00:00
|
|
|
# this is just a meta package, which contains keys and secrets
|
2019-04-29 21:54:49 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-17 22:43:56 +00:00
|
|
|
pythonNamespaces = [ "azure" ];
|
|
|
|
|
2019-12-21 05:14:09 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.keyvault.keys"
|
|
|
|
"azure.keyvault.secrets"
|
|
|
|
];
|
|
|
|
|
2019-04-29 21:54:49 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Key Vault Client Library";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 21:54:49 +00:00
|
|
|
license = licenses.mit;
|
2019-12-21 05:14:09 +00:00
|
|
|
maintainers = with maintainers; [ jonringer ];
|
2019-04-29 21:54:49 +00:00
|
|
|
};
|
|
|
|
}
|