[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 153/223] gnu: Add ruby-net-imap.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 153/223] gnu: Add ruby-net-imap. |
Date: |
Mon, 20 Mar 2023 13:22:39 -0400 |
* gnu/packages/ruby.scm (ruby-net-imap): New variable.
---
gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b309c30d0b..1544b40224 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4015,6 +4015,41 @@ (define-public ruby-net-http-persistent
(home-page "https://github.com/drbrain/net-http-persistent")
(license license:expat)))
+(define-public ruby-net-imap
+ (package
+ (name "ruby-net-imap")
+ (version "0.3.4")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/ruby/net-imap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nx49i1n9q1wpancqaac2srrpb8mb43mc8wryyqyhpgki2grwyxw"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; The test suite appears to rely on RFCs it tries fetching from the
+ ;; network (see: https://github.com/ruby/net-imap/issues/136).
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'replace-git-ls-files 'adjust-for-git-ls-files
+ (lambda _
+ ;; Adjust the git ls-files invocation so that it matches
+ ;; the expected pattern.
+ (substitute* "net-imap.gemspec"
+ (("`git ls-files -z 2>/dev/null`")
+ "`git ls-files -z`")))))))
+ (propagated-inputs (list ruby-date ruby-net-protocol))
+ (synopsis "Ruby client api for Internet Message Access Protocol")
+ (description "@code{Net::IMAP} implements Internet Message Access
+Protocol (IMAP) client functionality. The protocol is described in
+@url{https://tools.ietf.org/html/rfc3501, IMAP}.")
+ (home-page "https://github.com/ruby/net-imap")
+ (license license:bsd-2)))
+
(define-public ruby-power-assert
(package
(name "ruby-power-assert")
--
2.39.1
- [bug#62196] [PATCH 174/223] gnu: Add ruby-arr-pm., (continued)
- [bug#62196] [PATCH 174/223] gnu: Add ruby-arr-pm., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 156/223] gnu: ruby-actionmailbox: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 164/223] gnu: Add ruby-importmap-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 177/223] gnu: ruby-minitest: Update to 5.18.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 171/223] gnu: Add ruby-dotenv-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 192/223] gnu: ruby-shoulda-matchers: Honor #:tests?., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 200/223] gnu: Add ruby-ruby-version., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 195/223] gnu: ruby-unf-ext: Update to 0.0.8.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 198/223] gnu: Add ruby-rspec-stubbed-env., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 151/223] gnu: Add ruby-net-protocol., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 153/223] gnu: Add ruby-net-imap.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 166/223] gnu: Add ruby-propshaft., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 170/223] gnu: ruby-spring: Update to 4.1.1., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 173/223] gnu: Add ruby-pleaserun., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 179/223] gnu: Add fpm., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 189/223] gnu: ruby-shoulda-context: Update to 2.0.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 162/223] gnu: ruby-globalid: Update to 1.1.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 145/223] gnu: ruby-marcel: Update to 1.0.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 172/223] gnu: Add ruby-flores., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 158/223] gnu: ruby-sprockets: Update to 4.2.0., Maxim Cournoyer, 2023/03/20