1{
2 lib,
3 azure-common,
4 azure-core,
5 buildPythonPackage,
6 cryptography,
7 fetchPypi,
8 isodate,
9 pythonOlder,
10 setuptools,
11 typing-extensions,
12}:
13
14buildPythonPackage rec {
15 pname = "azure-keyvault-keys";
16 version = "4.11.0";
17 pyproject = true;
18
19 disabled = pythonOlder "3.8";
20
21 src = fetchPypi {
22 pname = "azure_keyvault_keys";
23 inherit version;
24 hash = "sha256-8lexkXosOoiYPj9WdaZBlEnrJiMYiI1bUeHLO+15d5o=";
25 };
26
27 build-system = [ setuptools ];
28
29 dependencies = [
30 azure-common
31 azure-core
32 cryptography
33 isodate
34 typing-extensions
35 ];
36
37 pythonNamespaces = [ "azure.keyvault" ];
38
39 # Tests require relative paths to utilities in the mono-repo
40 doCheck = false;
41
42 pythonImportsCheck = [
43 "azure"
44 "azure.core"
45 "azure.common"
46 "azure.keyvault"
47 "azure.keyvault.keys"
48 ];
49
50 meta = with lib; {
51 description = "Microsoft Azure Key Vault Keys Client Library for Python";
52 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-keys";
53 changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-keyvault-keys_${version}/sdk/keyvault/azure-keyvault-keys";
54 license = licenses.mit;
55 maintainers = [ ];
56 };
57}