From b213e0d0f8c8f771c04f665be81d357918b10c66 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Mon, 8 Jul 2024 00:13:39 +0800 Subject: gnu: Add mimetreeparser. * gnu/packages/kde-pim.scm (mimetreeparser): New variable. Change-Id: I897a1b92bf89a010ccdb690a6d72cc47a8fcc72f --- gnu/packages/kde-pim.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index bea2d55616..ef2b0bd8bf 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -2271,3 +2271,30 @@ KDE using certificate-based crypto.") is a Sieve parser and interpreter library for KDE.") (license ;; GPL for programs, LGPL for libraries (list license:gpl2+ license:lgpl2.0+)))) +(define-public mimetreeparser + (package + (name "mimetreeparser") + (version "24.05.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/mimetreeparser-" version ".tar.xz")) + (sha256 + (base32 "132slwaqlaxnbvkpqb9w4ak4mpkrvw6ln81nbka91c3ngcamfac9")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules)) + (inputs + (list kcalendarcore kcodecs libkleo kwidgetsaddons qtdeclarative)) + (propagated-inputs (list ki18n kmime kmbox)) + (arguments + (list #:tests? #f ;; FIXME: 7/9 tests fail. + #:qtbase qtbase)) + (home-page "https://kontact.kde.org") + (synopsis "Parser for MIME trees") + (description "This package provides a parser for a MIME tree and is based +on KMime. The goal is given a MIME tree to extract a list of parts and a list +of attachments, check the validity of the signatures and decrypt any encrypted +part.") + (license license:lgpl2.0+))) -- cgit v1.2.3