17 buildPythonPackage rec {
18 pname = "extract-msg";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
25 owner = "TeamMsgExtractor";
26 repo = "msg-extractor";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-MWqJYdv+P87n5KtrtSJnyY59uuLtHL9EG8WyYRdfSTw=";
50 nativeCheckInputs = [ pytestCheckHook ];
52 pythonImportsCheck = [ "extract_msg" ];
54 pytestFlagsArray = [ "extract_msg_tests/*.py" ];
57 description = "Extracts emails and attachments saved in Microsoft Outlook's .msg files";
58 homepage = "https://github.com/TeamMsgExtractor/msg-extractor";
59 changelog = "https://github.com/TeamMsgExtractor/msg-extractor/blob/${version}/CHANGELOG.md";
60 license = licenses.gpl3Only;
61 maintainers = with maintainers; [ fab ];