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.9.0";
17 pyproject = true;
18
19 disabled = pythonOlder "3.8";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-CGMtzW7OKGVyBOmiVq1kNp/isOOF7UM0n5MvAH2J93Q=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-common
30 azure-core
31 cryptography
32 isodate
33 typing-extensions
34 ];
35
36 pythonNamespaces = [ "azure.keyvault" ];
37
38 # Tests require relative paths to utilities in the mono-repo
39 doCheck = false;
40
41 pythonImportsCheck = [
42 "azure"
43 "azure.core"
44 "azure.common"
45 "azure.keyvault"
46 "azure.keyvault.keys"
47 ];
48
49 meta = with lib; {
50 description = "Microsoft Azure Key Vault Keys Client Library for Python";
51 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-keys";
52 changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-keyvault-keys_${version}/sdk/keyvault/azure-keyvault-keys";
53 license = licenses.mit;
54 maintainers = with maintainers; [ jonringer ];
55 };
56}