Commit 30220187 authored by Robert Schütz's avatar Robert Schütz
Browse files

python313Packages.python-oxmsg: init at 0.0.2

parent 844973ce
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  click,
  fetchFromGitHub,
  lib,
  olefile,
  pytestCheckHook,
  setuptools,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "python-oxmsg";
  version = "0.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "scanny";
    repo = "python-oxmsg";
    tag = "v${version}";
    hash = "sha256-ramM27+SylBeJyb3kkRm1xn3qAefiLuBOvI/iucK2wM=";
  };

  build-system = [ setuptools ];

  dependencies = [
    click
    olefile
    typing-extensions
  ];

  pythonImportsCheck = [ "oxmsg" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/scanny/python-oxmsg/blob/${src.tag}/CHANGELOG.md";
    description = "Extract attachments from Outlook .msg files";
    homepage = "https://github.com/scanny/python-oxmsg";
    license = lib.licenses.mit;
    mainProgram = "oxmsg";
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14703,6 +14703,8 @@ self: super: with self; {
  python-owasp-zap-v2-4 = callPackage ../development/python-modules/python-owasp-zap-v2-4 { };
  python-oxmsg = callPackage ../development/python-modules/python-oxmsg { };
  python-packer = callPackage ../development/python-modules/python-packer { };
  python-pae = callPackage ../development/python-modules/python-pae { };