stage-2-init: fix false positives for RO Nix store mounts (#375257)
[NixPkgs.git] / pkgs / development / python-modules / msg-parser / default.nix
blobf2ebb4108970c53e6a8f3880ac52f05fcb3d4b47
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   # dependencies
7   olefile,
8   # test dependencies
9   pytestCheckHook,
11 let
12   pname = "msg-parser";
13   version = "1.2.0";
15 buildPythonPackage {
16   inherit pname version;
17   format = "setuptools";
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "vikramarsid";
23     repo = "msg_parser";
24     rev = "4100b553b24895b489ebd414c771933fc1e558d3";
25     hash = "sha256-srDk6w8nzt0dyGCFQWfVCnKb4LawHoqoHX6d1l1dAmM=";
26   };
28   propagatedBuildInputs = [ olefile ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   meta = with lib; {
33     description = "Python module to read, parse and converting Microsoft Outlook MSG E-Mail files";
34     mainProgram = "msg_parser";
35     homepage = "https://github.com/vikramarsid/msg_parser";
36     license = licenses.bsd2;
37     maintainers = with maintainers; [ happysalada ];
38   };