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/pytest-httpserver/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/development/python-modules/pytest-httpserver') diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix index bf2016701dde..c4d785aa7666 100644 --- a/pkgs/development/python-modules/pytest-httpserver/default.nix +++ b/pkgs/development/python-modules/pytest-httpserver/default.nix @@ -42,11 +42,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "pytest_httpserver" ]; - meta = with lib; { + meta = { description = "HTTP server for pytest to test HTTP clients"; homepage = "https://www.github.com/csernazs/pytest-httpserver"; changelog = "https://github.com/csernazs/pytest-httpserver/blob/${src.tag}/CHANGES.rst"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ fab ]; }; } -- cgit v1.2.3