diff options
author | Simon Streit <simon@netpanic.org> | 2022-05-24 14:50:34 +0200 |
---|---|---|
committer | Simon Streit <simon@netpanic.org> | 2023-06-19 21:36:36 +0200 |
commit | b57baa54b891659debc8522fc780ffb52c371302 (patch) | |
tree | 63bc90adcde87946e0d6334a24078d835d08cd41 | |
parent | 8dadda00a32f8ec0350fa15125dd51f3ad41dedd (diff) |
siguix: Add emacs-gnus-bogofilter.
* siguix/packages/emacs-gnus-bogofilter.scm (emacs-gnus-bogofilter): New variable.
-rw-r--r-- | siguix/packages/emacs-gnus-bogofilter.scm | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/siguix/packages/emacs-gnus-bogofilter.scm b/siguix/packages/emacs-gnus-bogofilter.scm new file mode 100644 index 0000000..5aa5726 --- /dev/null +++ b/siguix/packages/emacs-gnus-bogofilter.scm @@ -0,0 +1,56 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2022 Simon Streit <simon@netpanic.org> +;;; +;;; This file is NOT part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (siguix packages emacs-gnus-bogofilter) + #:use-module (gnu packages) + #:use-module (gnu packages mail) + #:use-module (guix build-system emacs) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public emacs-gnus-bogofilter + ;; There's no release available. + (let ((commit "07a7a6b87bd1d5f7f5f21dc988bcf9f47a781414") + (revision "0")) + (package + (name "emacs-gnus-bogofilter") + (version (git-version "0" revision commit)) + (home-page "https://github.com/tlikonen/gnus-bogofilter") + (source + (origin + (method git-fetch) + (uri (git-reference (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1diqnlv5l0l9nqf2nk16g7rgn3xmiiswwd86a5yqx1zx6lk9x3nh")))) + (build-system emacs-build-system) + (inputs (list bogofilter)) + (synopsis "Bogofilter mail filter features for Gnus") + (description + ;; This description should be modified at some point. + "Gnus has its own full-featured spam-filtering framework. + +I have used it many years but, in my opinion, it's over-designed and +complicated. + +It practically requires Gnus registry too which adds to the +complexity. For basic Bogofilter-based mail-filtering a simpler +approach may suit better. Thus, this package.") + (license license:gpl3+)))) |