GNU bug report logs - #73534
[PATCH] gnu: Add emacs-persid.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sat, 28 Sep 2024 22:02:02 UTC

Severity: normal

Tags: patch

Done: Ian Eure <ian <at> retrospec.tv>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ngraves <at> ngraves.fr
To: 73534 <at> debbugs.gnu.org
Subject: [bug#73534] [PATCH] gnu: Add emacs-persid.
Date: Sat, 28 Sep 2024 23:29:41 +0200
* gnu/packages/emacs-xyz.scm (emacs-persid): New variable.
---
 gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 602f58f006..631bd5b0d1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -39202,6 +39202,40 @@ (define-public emacs-auto-dictionary-mode
 detected language.")
     (license license:gpl2+)))
 
+(define-public emacs-persid
+  (let ((commit "cf84a4340bd3e5b16b4412e98c4243da9f72503a")
+        (revision "2"))
+    (package
+      (name "emacs-persid")
+      (version (git-version "0.1.1" 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.48.1



-- 
Best regards,
Nicolas Graves




This bug report was last modified 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.