Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, azure-keyvault-certificates 6, azure-keyvault-keys 7, azure-keyvault-secrets 8}: 9 10buildPythonPackage rec { 11 pname = "azure-keyvault"; 12 version = "4.2.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 hash = "sha256-cxrdEIo+KatP1QGjxHclbChsNNCZazg/tqOUVGKTN2E="; 21 }; 22 23 propagatedBuildInputs = [ 24 azure-keyvault-certificates 25 azure-keyvault-keys 26 azure-keyvault-secrets 27 ]; 28 29 # this is just a meta package, which contains keys and secrets packages 30 doCheck = false; 31 doBuild = false; 32 33 pythonImportsCheck = [ 34 "azure.keyvault.keys" 35 "azure.keyvault.secrets" 36 ]; 37 38 meta = with lib; { 39 description = "This is the Microsoft Azure Key Vault Client Library"; 40 homepage = "https://github.com/Azure/azure-sdk-for-python"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ jonringer ]; 43 }; 44}