Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 azure-core, 4 buildPythonPackage, 5 fetchPypi, 6 isodate, 7 pythonOlder, 8 setuptools, 9 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-keyvault-secrets"; 14 version = "4.8.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-VjbAodiiDjxXmcs8z/1Ovz8NGst8rpUmhhgzr4sP6BQ="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 azure-core 28 isodate 29 typing-extensions 30 ]; 31 32 pythonNamespaces = [ "azure.keyvault" ]; 33 34 # Tests require checkout from mono-repo 35 doCheck = false; 36 37 meta = with lib; { 38 description = "Microsoft Azure Key Vault Secrets Client Library for Python"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-secrets"; 40 changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-keyvault-secrets_${version}/sdk/keyvault/azure-keyvault-secrets"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ jonringer ]; 43 }; 44}