2024-04-13 19:39:07 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
azure-core,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
isodate,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2020-09-28 18:08:34 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-appconfiguration";
|
2024-09-05 13:17:07 +00:00
|
|
|
version = "1.7.1";
|
2024-04-13 19:38:43 +00:00
|
|
|
pyporject = true;
|
2023-11-10 08:45:51 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-09-28 18:08:34 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-09-05 13:17:07 +00:00
|
|
|
hash = "sha256-Pr5B6b4/SubKYeXbxCxLfMAHoBBUqFBlAaJt/Bmf0+w=";
|
2020-09-28 18:08:34 +00:00
|
|
|
};
|
|
|
|
|
2024-04-13 19:39:07 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-04-13 19:38:43 +00:00
|
|
|
|
|
|
|
dependencies = [
|
2020-09-28 18:08:34 +00:00
|
|
|
azure-core
|
2023-11-10 08:45:51 +00:00
|
|
|
isodate
|
2020-09-28 18:08:34 +00:00
|
|
|
];
|
|
|
|
|
2023-11-10 08:45:51 +00:00
|
|
|
# Tests are not shipped
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-13 19:39:07 +00:00
|
|
|
pythonImportsCheck = [ "azure.appconfiguration" ];
|
2020-09-28 18:08:34 +00:00
|
|
|
|
|
|
|
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";
|
2023-11-10 08:45:51 +00:00
|
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-appconfiguration_${version}/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md";
|
2020-09-28 18:08:34 +00:00
|
|
|
license = licenses.mit;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2020-09-28 18:08:34 +00:00
|
|
|
};
|
|
|
|
}
|