1{ lib, buildPythonPackage, isPy27, fetchPypi
2, aiohttp
3, azure-common
4, azure-core
5, azure-nspkg
6, cryptography
7, msrest
8, pytestCheckHook
9}:
10
11buildPythonPackage rec {
12 pname = "azure-keyvault-keys";
13 version = "4.2.0";
14 disabled = isPy27;
15
16 src = fetchPypi {
17 inherit pname version;
18 extension = "zip";
19 sha256 = "e47b76ca5d99b12436c64ce4431271cd6744fba017f282991b84ce303e0b9eaa";
20 };
21
22 propagatedBuildInputs = [
23 azure-common
24 azure-core
25 msrest
26 cryptography
27 ];
28
29 pythonNamespaces = [ "azure.keyvault" ];
30
31 # requires relative paths to utilities in the mono-repo
32 doCheck = false;
33 checkInputs = [ aiohttp pytestCheckHook ];
34
35 pythonImportsCheck = [
36 "azure"
37 "azure.core"
38 "azure.common"
39 "azure.keyvault"
40 "azure.keyvault.keys"
41 ];
42
43 meta = with lib; {
44 description = "Microsoft Azure Key Vault Keys Client Library for Python";
45 homepage = "https://github.com/Azure/azure-sdk-for-python";
46 license = licenses.mit;
47 maintainers = with maintainers; [ jonringer ];
48 };
49}