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