From f4e89460801b92090ff89d05b3f5c6eab55d1cba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 10:28:11 +0200 Subject: [PATCH] python312Packages.extract-msg: use nixfmt --- .../python-modules/extract-msg/default.nix | 41 ++++++++----------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/pkgs/development/python-modules/extract-msg/default.nix b/pkgs/development/python-modules/extract-msg/default.nix index c3c8118f0afc..c687ef3272f7 100644 --- a/pkgs/development/python-modules/extract-msg/default.nix +++ b/pkgs/development/python-modules/extract-msg/default.nix @@ -1,17 +1,18 @@ -{ lib -, beautifulsoup4 -, buildPythonPackage -, compressed-rtf -, ebcdic -, fetchFromGitHub -, olefile -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, red-black-tree-mod -, rtfde -, setuptools -, tzlocal +{ + lib, + beautifulsoup4, + buildPythonPackage, + compressed-rtf, + ebcdic, + fetchFromGitHub, + olefile, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + red-black-tree-mod, + rtfde, + setuptools, + tzlocal, }: buildPythonPackage rec { @@ -48,17 +49,11 @@ buildPythonPackage rec { tzlocal ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "extract_msg" - ]; + pythonImportsCheck = [ "extract_msg" ]; - pytestFlagsArray = [ - "extract_msg_tests/*.py" - ]; + pytestFlagsArray = [ "extract_msg_tests/*.py" ]; meta = with lib; { description = "Extracts emails and attachments saved in Microsoft Outlook's .msg files";