python313Packages.python-oxmsg: init at 0.0.2

This commit is contained in:
Robert Schütz
2025-03-27 08:48:52 -07:00
parent 844973ceed
commit 3022018782
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
{
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 ];
};
}

View File

@@ -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 { };