Commit 7c4874fa authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 067dd6a0
Loading
Loading
Loading
Loading
+19 −7
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, azure-core
, msrest
{ lib
, pythonOlder
, isodate
, fetchPypi
, buildPythonPackage
, azure-core
}:

buildPythonPackage rec {
  pname = "azure-appconfiguration";
  version = "1.4.0";
  version = "1.5.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    hash = "sha256-fzZyT6j3K90FClJawf3o0F2TSMSu5pVqZvP8yJwTdBc=";
    hash = "sha256-cJIRe68GzY6T7ukhN+coF2m0AD/EFtSh7aZGuyVkAnw=";
  };

  propagatedBuildInputs = [
    azure-core
    msrest
    isodate
  ];

  pythonImportsCheck = [ "azure.appconfiguration" ];
  # Tests are not shipped
  doCheck = false;

  pythonImportsCheck = [
    "azure.appconfiguration"
  ];

  meta = with lib; {
    description = "Microsoft App Configuration Data Library for Python";
    homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/appconfiguration/azure-appconfiguration";
    changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-appconfiguration_${version}/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };