1{ lib
2, pythonOlder
3, isodate
4, fetchPypi
5, buildPythonPackage
6, azure-core
7}:
8
9buildPythonPackage rec {
10 pname = "azure-appconfiguration";
11 version = "1.5.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-cJIRe68GzY6T7ukhN+coF2m0AD/EFtSh7aZGuyVkAnw=";
19 };
20
21 propagatedBuildInputs = [
22 azure-core
23 isodate
24 ];
25
26 # Tests are not shipped
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "azure.appconfiguration"
31 ];
32
33 meta = with lib; {
34 description = "Microsoft App Configuration Data Library for Python";
35 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/appconfiguration/azure-appconfiguration";
36 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-appconfiguration_${version}/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md";
37 license = licenses.mit;
38 maintainers = with maintainers; [ jonringer ];
39 };
40}