Files
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01:00

48 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
azure-common,
azure-mgmt-core,
isodate,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-mgmt-appcontainers";
version = "3.2.0";
format = "setuptools";
pyroject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "azure_mgmt_appcontainers";
inherit version;
hash = "sha256-bp7WPCwssPZD+tZ52BMIxKomFWztQfwDPl9MBJghjz4=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-mgmt-core
isodate
]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
# no tests included
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.appcontainers" ];
meta = {
description = "Microsoft Azure Appcontainers Management Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appcontainers/azure-mgmt-appcontainers";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jfroche ];
};
}