gnu: offlineimap3: Update to 8.0.0.
* gnu/packages/mail.scm (offlineimap3): Update to 8.0.0.
This commit is contained in:
		
							parent
							
								
									0dc99fd149
								
							
						
					
					
						commit
						508960f95a
					
				
					 1 changed files with 40 additions and 45 deletions
				
			
		| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
 | 
					;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
 | 
				
			||||||
;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;; Copyright © 2017, 2018, 2020 Rene Saavedra <pacoon@protonmail.com>
 | 
					;;; Copyright © 2017, 2018, 2020 Rene Saavedra <pacoon@protonmail.com>
 | 
				
			||||||
;;; Copyright © 2018, 2019, 2020, 2021 Pierre Langlois <pierre.langlois@gmx.com>
 | 
					;;; Copyright © 2018, 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com>
 | 
				
			||||||
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
 | 
					;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
 | 
				
			||||||
;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
 | 
					;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
 | 
				
			||||||
;;; Copyright © 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
 | 
					;;; Copyright © 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
 | 
				
			||||||
| 
						 | 
					@ -1055,52 +1055,47 @@ and corrections.  It is based on a Bayesian filter.")
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public offlineimap3
 | 
					(define-public offlineimap3
 | 
				
			||||||
  ;; The OfflineIMAP3 fork does not yet have a release, but it's likely to be
 | 
					  (package
 | 
				
			||||||
  ;; 8.0.0 but the source still reports 7.3.0, see
 | 
					    (name "offlineimap3")
 | 
				
			||||||
  ;; https://github.com/OfflineIMAP/offlineimap3/issues/10.
 | 
					    (version "8.0.0")
 | 
				
			||||||
  (let ((commit "4ca9c75c6f9a0cc8dc7b69dd6abf073e494cc0e5")
 | 
					    (source (origin
 | 
				
			||||||
        (revision "0"))
 | 
					              (method git-fetch)
 | 
				
			||||||
    (package
 | 
					              (uri (git-reference
 | 
				
			||||||
      (name "offlineimap3")
 | 
					                    (url "https://github.com/OfflineIMAP/offlineimap3")
 | 
				
			||||||
      (version (git-version "7.3.0" revision commit))
 | 
					                    (commit (string-append "v" version))))
 | 
				
			||||||
      (source (origin
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
                (method git-fetch)
 | 
					              (sha256
 | 
				
			||||||
                (uri (git-reference
 | 
					               (base32
 | 
				
			||||||
                      (url "https://github.com/OfflineIMAP/offlineimap3")
 | 
					                "0y3giaz9i8vvczlxkbwymfkn3vi9fv599dy4pc2pn2afxsl4mg2w"))))
 | 
				
			||||||
                      (commit commit)))
 | 
					    (build-system python-build-system)
 | 
				
			||||||
                (file-name (git-file-name name version))
 | 
					    (native-inputs
 | 
				
			||||||
                (sha256
 | 
					     (list asciidoc))
 | 
				
			||||||
                 (base32
 | 
					    (inputs
 | 
				
			||||||
                  "0nzh5dcc559jfw4yy12gc98s17w82b15zxikspc6apd8filmk9xg"))))
 | 
					     (list python-distro python-imaplib2 python-rfc6555))
 | 
				
			||||||
      (build-system python-build-system)
 | 
					    (arguments
 | 
				
			||||||
      (native-inputs
 | 
					     `(;; Tests require a modifiable IMAP account.
 | 
				
			||||||
       (list asciidoc))
 | 
					       #:tests? #f
 | 
				
			||||||
      (inputs
 | 
					       #:phases
 | 
				
			||||||
       (list python-distro python-imaplib2 python-rfc6555))
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
      (arguments
 | 
					         (add-after 'build 'build-documentation
 | 
				
			||||||
       `(;; Tests require a modifiable IMAP account.
 | 
					           (lambda _
 | 
				
			||||||
         #:tests? #f
 | 
					             (substitute* "docs/Makefile"
 | 
				
			||||||
         #:phases
 | 
					               ;; Prevent xmllint and xsltproc from downloading a DTD file.
 | 
				
			||||||
         (modify-phases %standard-phases
 | 
					               (("a2x -v") "a2x --no-xmllint --xsltproc-opts=--nonet -v"))
 | 
				
			||||||
           (add-after 'build 'build-documentation
 | 
					             (invoke "make" "-C" "docs" "man")))
 | 
				
			||||||
             (lambda _
 | 
					         (add-after 'install 'install-documentation
 | 
				
			||||||
               (substitute* "docs/Makefile"
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
                 ;; Prevent xmllint and xsltproc from downloading a DTD file.
 | 
					             (let* ((out (assoc-ref outputs "out"))
 | 
				
			||||||
                 (("a2x -v") "a2x --no-xmllint --xsltproc-opts=--nonet -v"))
 | 
					                    (man (string-append out "/share/man")))
 | 
				
			||||||
               (invoke "make" "-C" "docs" "man")))
 | 
					               (install-file "docs/offlineimap.1" (string-append man "/man1"))
 | 
				
			||||||
           (add-after 'install 'install-documentation
 | 
					               (install-file "docs/offlineimapui.7" (string-append man "/man7"))))))))
 | 
				
			||||||
             (lambda* (#:key outputs #:allow-other-keys)
 | 
					    (home-page "https://www.offlineimap.org")
 | 
				
			||||||
               (let* ((out (assoc-ref outputs "out"))
 | 
					    (synopsis "Sync emails between two repositories")
 | 
				
			||||||
                      (man (string-append out "/share/man")))
 | 
					    (description
 | 
				
			||||||
                 (install-file "docs/offlineimap.1" (string-append man "/man1"))
 | 
					     "OfflineImap synchronizes emails between two repositories, so that you
 | 
				
			||||||
                 (install-file "docs/offlineimapui.7" (string-append man "/man7"))))))))
 | 
					 | 
				
			||||||
      (home-page "https://www.offlineimap.org")
 | 
					 | 
				
			||||||
      (synopsis "Sync emails between two repositories")
 | 
					 | 
				
			||||||
      (description
 | 
					 | 
				
			||||||
       "OfflineImap synchronizes emails between two repositories, so that you
 | 
					 | 
				
			||||||
can read the same mailbox from multiple computers.  It supports IMAP as REMOTE
 | 
					can read the same mailbox from multiple computers.  It supports IMAP as REMOTE
 | 
				
			||||||
repository and Maildir/IMAP as LOCAL repository.")
 | 
					repository and Maildir/IMAP as LOCAL repository.")
 | 
				
			||||||
      (license license:gpl2+))))
 | 
					    (license license:gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public offlineimap
 | 
					(define-public offlineimap
 | 
				
			||||||
  (deprecated-package "offlineimap" offlineimap3))
 | 
					  (deprecated-package "offlineimap" offlineimap3))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue