Commit 36d5ef97 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent cfb5ebb1
Loading
Loading
Loading
Loading
+16 −11
Original line number Diff line number Diff line
@@ -3,36 +3,40 @@
, fetchPypi
, azure-common
, azure-core
, msrest
, msrestazure
, isodate
, pythonOlder
, setuptools
, typing-extensions
}:

buildPythonPackage rec {
  pname = "azure-keyvault-certificates";
  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-nkfZp0gl5QKxPVSByZwYIEDE9Ucj9DNx4AhZQ23888o=";
    hash = "sha256-xWEnPkQCwlEUhzSGyYv6GyxHiGIp1BAOh9rxAO4Edyg=";
  };

  nativeBuildInputs = [
    setuptools
  ];

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

  pythonNamespaces = [
    "azure.keyvault"
  ];

  # has no tests
  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
@@ -41,7 +45,8 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Microsoft Azure Key Vault Certificates 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-certificates";
    changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-keyvault-certificates_${version}/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };