Commit 6e689fe2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 36d5ef97
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
{ lib
, azure-core
, buildPythonPackage
, fetchPypi
, isodate
, pythonOlder
, azure-common
, azure-core
, msrest
, setuptools
, typing-extensions
}:

buildPythonPackage rec {
  pname = "azure-keyvault-secrets";
  version = "4.7.0";
  format = "setuptools";
  version = "4.8.0";
  pyproject = true;

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    hash = "sha256-d+4lNLplGh8wbIXXtQW8PM7o/qd0UOuvr8Jq7BblRF0=";
    hash = "sha256-VjbAodiiDjxXmcs8z/1Ovz8NGst8rpUmhhgzr4sP6BQ=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    azure-common
    azure-core
    msrest
    isodate
    typing-extensions
  ];

  pythonNamespaces = [
    "azure.keyvault"
  ];

  # requires checkout from mono-repo
  # 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";
    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 ];
  };