From a3b933c66dd171387a09cf124bfdef9c56949978 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 06:33:57 +0000 Subject: [PATCH 1/2] python312Packages.extract-msg: 0.48.4 -> 0.48.5 --- pkgs/development/python-modules/extract-msg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/extract-msg/default.nix b/pkgs/development/python-modules/extract-msg/default.nix index 6c6e23370261..c3c8118f0afc 100644 --- a/pkgs/development/python-modules/extract-msg/default.nix +++ b/pkgs/development/python-modules/extract-msg/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "extract-msg"; - version = "0.48.4"; + version = "0.48.5"; pyproject = true; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "TeamMsgExtractor"; repo = "msg-extractor"; rev = "refs/tags/v${version}"; - hash = "sha256-xX25RVtkUFn+j9rALOHQOTRzqJXiEMn7i9pxCJ8so4U="; + hash = "sha256-GBX6VRXXja18azyiJZJ3niKPhAKZxDR8kcFbiC2XgeU="; }; pythonRelaxDeps = [ From f4e89460801b92090ff89d05b3f5c6eab55d1cba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 10:28:11 +0200 Subject: [PATCH 2/2] 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";