* [bug#63714] [PATCH] gnu: Add emacs-x509
@ 2023-05-25 10:08 David Conner
2023-05-25 20:29 ` Nicolas Goaziou
2023-05-27 14:37 ` David Conner
0 siblings, 2 replies; 4+ messages in thread
From: David Conner @ 2023-05-25 10:08 UTC (permalink / raw)
To: 63714; +Cc: David Conner
From: David Conner <dconner.pro@gmail.com>
* gnu/packages/emacs-xyz.scm (emacs-x509): New variable.
---
gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0ea9732bfa..e8965c7d90 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -37093,6 +37093,32 @@ (define-public emacs-tintin-mode
accomplish different tasks.")
(license license:asl2.0))))
+(define-public emacs-x509-mode
+ (package
+ (name "emacs-x509-mode")
+ (version "20230430.1518")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://melpa.org/packages/x509-mode-"
+ version ".tar"))
+ (sha256
+ (base32 "195gn14qn22aqclwz2i9w2qq9bxabwcasfkna1fj41jwv2bpbykc"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:include (cons* "^keywords.txt"
+ "^keyword\\+constant.txt"
+ "^constants.txt"
+ "^long-name.txt"
+ %default-include)))
+ (home-page "https://github.com/jobbflykt/x509-mode")
+ (synopsis "Major mode for viewing certificates, CRLs, and other
+PKI-related files")
+ (description "Major mode for viewing certificates, CRLs, and other
+PKI-related files. Uses OpenSSL for viewing PEM and DER encoded PKI
+entities.")
+ (license license:expat)))
+
(define-public emacs-totp
(let ((commit "a5e059b8475b32bc7f5ddadda248cf84449ed722") ;no releases
(revision "0"))
base-commit: 0b0c2ef6381e05f87aa5c4a99d05054a0b677662
--
2.40.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#63714] [PATCH] gnu: Add emacs-x509
2023-05-25 10:08 [bug#63714] [PATCH] gnu: Add emacs-x509 David Conner
@ 2023-05-25 20:29 ` Nicolas Goaziou
2023-05-27 14:37 ` David Conner
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-05-25 20:29 UTC (permalink / raw)
To: David Conner; +Cc: 63714, David Conner
Hello,
David Conner <aionfork@gmail.com> writes:
> From: David Conner <dconner.pro@gmail.com>
>
> * gnu/packages/emacs-xyz.scm (emacs-x509): New variable.
Thank you. Some comments follow.
> +(define-public emacs-x509-mode
> + (package
> + (name "emacs-x509-mode")
> + (version "20230430.1518")
Guix doesn't use versioning system from MELPA. Unfortunately, this
package doesn't seem to set a Version keyword. So the version should be "0".
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://melpa.org/packages/x509-mode-"
> + version ".tar"))
Please use GitHub as upstream.
> + (arguments
> + `(#:include (cons* "^keywords.txt"
> + "^keyword\\+constant.txt"
> + "^constants.txt"
> + "^long-name.txt"
> + %default-include)))
What about something like:
(list #:include (cons "\\.txt$" %default-include))
> + (description "Major mode for viewing certificates, CRLs, and other
> +PKI-related files. Uses OpenSSL for viewing PEM and DER encoded PKI
> +entities.")
The description should consist of complete sentences.
Could you send an updated patch? Also, could you run tests?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#63714] [PATCH] gnu: Add emacs-x509
2023-05-25 10:08 [bug#63714] [PATCH] gnu: Add emacs-x509 David Conner
2023-05-25 20:29 ` Nicolas Goaziou
@ 2023-05-27 14:37 ` David Conner
2023-06-25 6:51 ` bug#63714: " Nicolas Goaziou
1 sibling, 1 reply; 4+ messages in thread
From: David Conner @ 2023-05-27 14:37 UTC (permalink / raw)
To: 63714
I'm still getting used to GNUS and debbugs. I've only just gotten GNUS
set up in Emacs with email.
> Guix doesn't use versioning system from MELPA. Unfortunately, this
> package doesn't seem to set a Version keyword. So the version should
> be "0".
I can try to get in touch with the package maintainers to convince them
to add semantic versioning. I think the package was dormant for quite
some time until I created a Github issue on it. It appears to be active
again.
> Could you send an updated patch? Also, could you run tests?
Yes, I'll take care of this soon.
As for tests, do you mean Guix tests or x509-mode.el tests? If the
latter, then I believe openssl should be a propagated input. I left it
out, as this should be a dependency on most machines anyways.
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#63714: [PATCH] gnu: Add emacs-x509
2023-05-27 14:37 ` David Conner
@ 2023-06-25 6:51 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-06-25 6:51 UTC (permalink / raw)
To: David Conner; +Cc: 63714-done
Hello,
David Conner <aionfork@gmail.com> writes:
> I'm still getting used to GNUS and debbugs. I've only just gotten GNUS
> set up in Emacs with email.
>
>> Guix doesn't use versioning system from MELPA. Unfortunately, this
>> package doesn't seem to set a Version keyword. So the version should
>> be "0".
>
> I can try to get in touch with the package maintainers to convince them
> to add semantic versioning. I think the package was dormant for quite
> some time until I created a Github issue on it. It appears to be active
> again.
>
>> Could you send an updated patch? Also, could you run tests?
>
> Yes, I'll take care of this soon.
>
> As for tests, do you mean Guix tests or x509-mode.el tests? If the
> latter, then I believe openssl should be a propagated input. I left it
> out, as this should be a dependency on most machines anyways.
I went ahead, applied suggested changes, added openssl as an input, and
ran tests.
Thank you for the initial work!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-25 6:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-25 10:08 [bug#63714] [PATCH] gnu: Add emacs-x509 David Conner
2023-05-25 20:29 ` Nicolas Goaziou
2023-05-27 14:37 ` David Conner
2023-06-25 6:51 ` bug#63714: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).