nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 47 lines 981 B view raw
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.0.0"; 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 sha256 = "1l1fwm8plzr5zbv02nlvs0i8ssmd88cxm5lb19i54b3scci77hiq"; 20 }; 21 22 propagatedBuildInputs = [ 23 azure-common 24 azure-core 25 msrest 26 cryptography 27 ]; 28 29 # requires relative paths to utilities in the mono-repo 30 doCheck = false; 31 checkInputs = [ aiohttp pytestCheckHook ]; 32 33 pythonImportsCheck = [ 34 "azure" 35 "azure.core" 36 "azure.common" 37 "azure.keyvault" 38 "azure.keyvault.keys" 39 ]; 40 41 meta = with lib; { 42 description = "Microsoft Azure Key Vault Keys Client Library for Python"; 43 homepage = "https://github.com/Azure/azure-sdk-for-python"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ jonringer ]; 46 }; 47}