2022-04-02 22:51:42 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2022-04-02 22:53:01 +02:00
|
|
|
, pythonOlder
|
2022-04-02 22:51:42 +02:00
|
|
|
, fetchPypi
|
2020-04-22 23:58:35 +02:00
|
|
|
, azure-keyvault-certificates
|
2019-12-21 06:14:09 +01:00
|
|
|
, azure-keyvault-keys
|
|
|
|
, azure-keyvault-secrets
|
2019-04-29 23:54:49 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-keyvault";
|
2022-04-01 04:45:18 +02:00
|
|
|
version = "4.2.0";
|
2022-04-02 22:51:42 +02:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2019-04-29 23:54:49 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2022-04-02 22:51:42 +02:00
|
|
|
hash = "sha256-cxrdEIo+KatP1QGjxHclbChsNNCZazg/tqOUVGKTN2E=";
|
2019-04-29 23:54:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-04-22 23:58:35 +02:00
|
|
|
azure-keyvault-certificates
|
2019-12-21 06:14:09 +01:00
|
|
|
azure-keyvault-keys
|
|
|
|
azure-keyvault-secrets
|
2019-04-29 23:54:49 +02:00
|
|
|
];
|
|
|
|
|
2021-11-30 17:36:00 +01:00
|
|
|
# this is just a meta package, which contains keys and secrets packages
|
2019-04-29 23:54:49 +02:00
|
|
|
doCheck = false;
|
2021-11-30 17:36:00 +01:00
|
|
|
doBuild = false;
|
2020-03-17 23:43:56 +01:00
|
|
|
|
2019-12-21 06:14:09 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.keyvault.keys"
|
|
|
|
"azure.keyvault.secrets"
|
|
|
|
];
|
|
|
|
|
2019-04-29 23:54:49 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Key Vault Client Library";
|
2019-10-19 18:47:11 +02:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 23:54:49 +02:00
|
|
|
license = licenses.mit;
|
2019-12-21 06:14:09 +01:00
|
|
|
maintainers = with maintainers; [ jonringer ];
|
2019-04-29 23:54:49 +02:00
|
|
|
};
|
|
|
|
}
|