blob: b45cabf77c8ebd68b5a33a190bfe427305b9ae5f (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
(define-module (tw packages mail)
#:use-module (gnu packages mail)
#:use-module (gnu packages python)
#:use-module (guix build-system copy)
#:use-module (guix git-download)
#:use-module (guix packages))
(define-public mutt_oauth2.py
(package
(name "mutt_oauth2.py")
(version "20231103")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/neomutt/neomutt")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1z0c19nppf2bjzc5xxhx5ahms449cr1ycww2lq1qqx6f120xixgp"))))
(inputs (list python)) ; It's a Python script!
(build-system copy-build-system)
(arguments
'(#:install-plan '(("contrib/oauth2/mutt_oauth2.py" "bin/"))))
(home-page (package-home-page neomutt))
(synopsis "OAuth2 authentication script from NeoMutt")
(description "Microsoft Exchange Online mail accounts require XOAUTH2
login. This can be done with the @code{mutt_oauth2.py} script packaged with
NeoMutt, but the version of the script in Guix' NeoMutt package is too old, so
this package includes the latest script only.")
(license (package-license neomutt))))
|