about summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-appconfiguration/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/azure-appconfiguration/default.nix')
-rw-r--r--pkgs/development/python-modules/azure-appconfiguration/default.nix26
1 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/azure-appconfiguration/default.nix b/pkgs/development/python-modules/azure-appconfiguration/default.nix
index db43d7770d2b..40726506f72b 100644
--- a/pkgs/development/python-modules/azure-appconfiguration/default.nix
+++ b/pkgs/development/python-modules/azure-appconfiguration/default.nix
@@ -1,27 +1,39 @@
-{ 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 ];
   };