depot/third_party/nixpkgs/pkgs/development/python-modules/azure-keyvault-secrets/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

47 lines
1 KiB
Nix

{ lib
, azure-core
, buildPythonPackage
, fetchPypi
, isodate
, pythonOlder
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "azure-keyvault-secrets";
version = "4.8.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-VjbAodiiDjxXmcs8z/1Ovz8NGst8rpUmhhgzr4sP6BQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-core
isodate
typing-extensions
];
pythonNamespaces = [
"azure.keyvault"
];
# Tests require checkout from mono-repo
doCheck = false;
meta = with lib; {
description = "Microsoft Azure Key Vault Secrets Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-secrets";
changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-keyvault-secrets_${version}/sdk/keyvault/azure-keyvault-secrets";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}