[PATCH] Add emacs-pubmed.

DoneSubmitted by Brian Leung.
Details
2 participants
  • Brian Leung
  • Oleg Pyhalov
Owner
unassigned
Severity
normal
B
B
Brian Leung wrote on 3 Sep 2019 05:19
(address . guix-patches@gnu.org)
CAAc=MEz6XvK6-z9dg8WZ82v2jiP==MX0TRZbZzr-QVDr+PkQmg@mail.gmail.com
See attached.
Attachment: file
From 6246080c3e03b0c1365716e42cd7052ab6658fc8 Mon Sep 17 00:00:00 2001From: Brian Leung <bkleung89@gmail.com>Date: Tue, 3 Sep 2019 05:13:36 +0200Subject: [PATCH 2/2] gnu: Add emacs-pubmed.
* gnu/packages/emacs-xyz.scm (emacs-pubmed): New variable.--- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
Toggle diff (39 lines)diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scmindex f2676025e1..258fa8a3bf 100644--- a/gnu/packages/emacs-xyz.scm+++ b/gnu/packages/emacs-xyz.scm@@ -9651,6 +9651,32 @@ included by default, and more can be readily added.") (description "This package provides functions for converting Unicode to ASCII.") (license license:gpl2+)))) +(define-public emacs-pubmed+ (package+ (name "emacs-pubmed")+ (version "0.2.1")+ (source+ (origin+ (method git-fetch)+ (uri (git-reference+ (url "https://gitlab.com/fvdbeek/emacs-pubmed.git")+ (commit (string-append "v" version))))+ (file-name (git-file-name name version))+ (sha256+ (base32+ "15bwjxc7g43m5pi8z17anaqqkvi209r7kk1chmf175477gvrv7c0"))))+ (build-system emacs-build-system)+ (propagated-inputs+ `(("emacs-deferred" ,emacs-deferred)+ ("emacs-esxml" ,emacs-esxml)+ ("emacs-s" ,emacs-s)+ ("emacs-unidecode" ,emacs-unidecode)))+ (home-page "https://gitlab.com/fvdbeek/emacs-pubmed")+ (synopsis "Interface to PubMed")+ (description "This package provides an Emacs interface to the PubMed+database of references on life sciences.")+ (license license:gpl3+)))+ (define-public emacs-websocket (package (name "emacs-websocket")-- 2.23.0
From e64e7d92597c6a6b070fadaa9b1843fd23845228 Mon Sep 17 00:00:00 2001From: Brian Leung <bkleung89@gmail.com>Date: Mon, 26 Aug 2019 19:16:45 +0200Subject: [PATCH 1/2] gnu: Add emacs-unidecode.
* gnu/packages/emacs-xyz.scm (emacs-unidecode): New variable.--- gnu/packages/emacs-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+)
Toggle diff (56 lines)diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scmindex 0c6077770b..f2676025e1 100644--- a/gnu/packages/emacs-xyz.scm+++ b/gnu/packages/emacs-xyz.scm@@ -9608,6 +9608,49 @@ subsequent invocations can be readily customized. Several recipes are included by default, and more can be readily added.") (license license:gpl3+)))) +(define-public emacs-unidecode+ (let ((commit "5502ada9287b4012eabb879f12f5b0a9df52c5b7")+ (revision "1"))+ (package+ (name "emacs-unidecode")+ (version (git-version "0.2" revision commit))+ (source+ (origin+ (method git-fetch)+ (uri (git-reference+ (url "https://github.com/sindikat/unidecode")+ (commit commit)))+ (sha256+ (base32+ "03x3nakbhmakwm977mwrf8jifvjnfwzpjv6wrwpizbqjnkgfchmn"))))+ (build-system emacs-build-system)+ (arguments+ `(#:include (cons* "^tools/" "^data/" %default-include)+ #:tests? #t+ #:test-command '("emacs" "--batch"+ "-l" "unidecode-test.el"+ "-f" "ert-run-tests-batch-and-exit")+ #:phases+ (modify-phases %standard-phases+ (add-before 'check 'make-tests-writable+ (lambda _+ (make-file-writable "unidecode-test.el")+ #t))+ (add-before 'check 'add-require+ (lambda _+ (emacs-batch-edit-file "unidecode-test.el"+ `(progn (progn (goto-char (point-min))+ (re-search-forward+ "ert-deftest")+ (forward-line -1)+ (insert "(require 'unidecode)"))+ (basic-save-buffer)))+ #t)))))+ (home-page "https://github.com/sindikat/unidecode")+ (synopsis "Transliterate Unicode text to ASCII")+ (description "This package provides functions for converting Unicode to ASCII.")+ (license license:gpl2+))))+ (define-public emacs-websocket (package (name "emacs-websocket")-- 2.23.0
O
O
Oleg Pyhalov wrote on 3 Sep 2019 22:38
(name . Brian Leung)(address . bkleung89@gmail.com)
87o901ru8j.fsf@majordomo.ru
Pushed to master.
Thanks,Oleg.
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl1uzywACgkQFn+OpQAa+pw2MA/6A8uNedQ0sPx314PpqXiEKaBwZmOlsQVgXWGLO8IUSUXFhAvloiR459SBdJRbLF58OAWCBTrv2UfAYaXrhXeSGE8imqOFP+3NVCfXYES6GZhJBtRmf89DK3t9T6TTbWRLh0LAtI4IT7oL5LxtW8pStEIr7gkLRpxbxGc26CtcYM4UmKJQLpN9RxNgMMvqJ/9agFSWljDuUw0Ci/W0wg9hx1iv12NbGcB/jmH2z0Z/imL4rg97DuSWcBdcpBcCOjmbgthM2sxQtf+qZj8wP76HWgO4PTsmBRECsiSZ7JpqK3a0n6qFt5MyXOgZUAqCh3JEvz0FUdO2PmHQ8EbSC1GkRGKZBLdye+rnbmSeuczbcUn4XA3k1XqwXk835hhI4oX1QnEkViVWyHfrcRyglU+e2yXHpKWWA1xuaNDF4wwFc3RMA8XGGEbBRG6SwaOoOKkFkIfbQ3gudfv23Dbu4OxIC10Sp2gGwKY/eEbNpYbD75F9P2BzepTd5kM6i+T37k2zE64svgeJgKJvm+ElJWe8trRaCt5quoyaIA3OdRKYgXXGCiRep2Uhv99Um0vR5SoMqeWMU3arPVNYH8VTCG+ZX1gcT73QQyRymzRpER9/MqXbZQGC5KVzRdo+dQ2AhNTuq26D04/sooovDyA/yhlI1ptY9c8RSKRQgsbaGI4ln4c==LhMn-----END PGP SIGNATURE-----
?
Your comment

This issue is archived.

To comment on this conversation send email to 37294@debbugs.gnu.org