From 567e8dfd8eddc5468e6380fc563ab8a27422ab1d Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 10 Dec 2025 17:44:00 +0100 Subject: 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 --- pkgs/development/python-modules/python-docs-theme/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/development/python-modules/python-docs-theme') diff --git a/pkgs/development/python-modules/python-docs-theme/default.nix b/pkgs/development/python-modules/python-docs-theme/default.nix index 6c8e0daf0b38..efb296b45dad 100644 --- a/pkgs/development/python-modules/python-docs-theme/default.nix +++ b/pkgs/development/python-modules/python-docs-theme/default.nix @@ -27,11 +27,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "python_docs_theme" ]; - meta = with lib; { + meta = { description = "Sphinx theme for CPython project"; homepage = "https://github.com/python/python-docs-theme"; changelog = "https://github.com/python/python-docs-theme/blob/${src.tag}/CHANGELOG.rst"; - license = licenses.psfl; - maintainers = with maintainers; [ kaction ]; + license = lib.licenses.psfl; + maintainers = with lib.maintainers; [ kaction ]; }; } -- cgit v1.2.3