Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, aiohttp 6, azure-common 7, azure-core 8, cryptography 9, msrest 10, pytestCheckHook 11}: 12 13buildPythonPackage rec { 14 pname = "azure-keyvault-keys"; 15 version = "4.8.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 extension = "zip"; 23 hash = "sha256-bAuy94MgKjSj5ex0hm5iEuWRrHEk8DuWadGwm2giS8Q="; 24 }; 25 26 propagatedBuildInputs = [ 27 azure-common 28 azure-core 29 msrest 30 cryptography 31 ]; 32 33 nativeCheckInputs = [ 34 aiohttp 35 pytestCheckHook 36 ]; 37 38 pythonNamespaces = [ 39 "azure.keyvault" 40 ]; 41 42 # requires relative paths to utilities in the mono-repo 43 doCheck = false; 44 45 pythonImportsCheck = [ 46 "azure" 47 "azure.core" 48 "azure.common" 49 "azure.keyvault" 50 "azure.keyvault.keys" 51 ]; 52 53 meta = with lib; { 54 description = "Microsoft Azure Key Vault Keys Client Library for Python"; 55 homepage = "https://github.com/Azure/azure-sdk-for-python"; 56 license = licenses.mit; 57 maintainers = with maintainers; [ jonringer ]; 58 }; 59}