* [bug#73534] [PATCH] gnu: Add emacs-persid.
@ 2024-09-28 21:29 Nicolas Graves via Guix-patches via
0 siblings, 0 replies; only message in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-28 21:29 UTC (permalink / raw)
To: 73534; +Cc: Nicolas Graves
* gnu/packages/emacs-xyz.scm (emacs-persid): New variable.
---
gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 05077d331d..467f2f84f2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -37665,6 +37665,41 @@ (define-public emacs-auto-dictionary-mode
detected language.")
(license license:gpl2+)))
+(define-public emacs-persid
+ ;; This is the commit of master + upstream pull request 8.
+ (let ((commit "ff370f0612dd83363bb10c4649c3f21f692c2409")
+ (revision "1"))
+ (package
+ (name "emacs-persid")
+ (version (git-version "1.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rougier/persid")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16nij3sv1fgpbxz7z3z4vdwxavz5hbad2y0585vp24h3zxhqq74y"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/rougier/persid")
+ (synopsis "Persistent Identifier Library")
+ (description "This package provides a library to manipulate
+persistent identifiers that are used to locate scholar resources
+online. The library knows about the following formats:
+@itemize
+@item isbn: @url{https://isbn.org, International Standard Book Number}
+@item issn: @url{https://www.issn.org, International Standard Serial Number}
+@item doi: @url{https://www.doi.org, Digital Object identifier}
+@item pmid: @url{https://pubmed.ncbi.nlm.nih.gov, PubMed}
+@item pmcid: @url{https://www.ncbi.nlm.nih.gov/pmc, PubMed Central}
+@item arxiv: @url{https://arxiv.org, Cornell University}
+@end itemize
+
+Given an identifier in one of the known formats, the libray can query
+information about the resources and format it as a bibtex entry.")
+ (license license:gpl3+))))
+
(define-public emacs-persist
(package
(name "emacs-persist")
--
2.46.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-28 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-28 21:29 [bug#73534] [PATCH] gnu: Add emacs-persid Nicolas Graves via Guix-patches via
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).