1{ lib
2, buildPythonPackage
3, fetchPypi
4, azure-common
5, azure-core
6, msrest
7, msrestazure
8, pythonOlder
9}:
10
11buildPythonPackage rec {
12 pname = "azure-keyvault-certificates";
13 version = "4.7.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 extension = "zip";
21 hash = "sha256-nkfZp0gl5QKxPVSByZwYIEDE9Ucj9DNx4AhZQ23888o=";
22 };
23
24 propagatedBuildInputs = [
25 azure-common
26 azure-core
27 msrest
28 msrestazure
29 ];
30
31 pythonNamespaces = [
32 "azure.keyvault"
33 ];
34
35 # has no tests
36 doCheck = false;
37
38 pythonImportsCheck = [
39 "azure.keyvault.certificates"
40 ];
41
42 meta = with lib; {
43 description = "Microsoft Azure Key Vault Certificates Client Library for Python";
44 homepage = "https://github.com/Azure/azure-sdk-for-python";
45 license = licenses.mit;
46 maintainers = with maintainers; [ jonringer ];
47 };
48}