From patchwork Sat Sep 28 21:29:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68494 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D00E727BBE2; Sat, 28 Sep 2024 23:02:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9322127BBE9 for ; Sat, 28 Sep 2024 23:02:01 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sufVQ-0000dT-1a; Sat, 28 Sep 2024 18:01:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sufVN-0000co-Bm for guix-patches@gnu.org; Sat, 28 Sep 2024 18:01:33 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sufVN-0004vP-1y for guix-patches@gnu.org; Sat, 28 Sep 2024 18:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=1vlV64DHqcVd0VlNVOQsWFVmYZshYv5SVpnTQMM4LcA=; b=NzlIZ+Xobt1CXc+KzwqF0S4lmhpmbRsRuLUhejhMh2bXmTs1hten/ERVNciy43ge2s4MAEQU+rT/xWo/SKe8RSuHivlJF/c5vx+xx9bAVrScopov2mKyvX4xfHrF5IV1vCF39EcN1l+9AKh47VX2sy2Q/EGU9Awk9cMKBZ6AlujXd4K7VizKIannBYJ3nI3qevQd1/2dSJz5BnXfx0vw56jBR+DMRdKv3UljxuQLbT9S89kuPes/c6disV2GBIwYrsKc9X9jTk77Hnj6aNFGOcYDc3GF4j+qL9oYiqWxZrIwCfKPvIeeVy+VEnGX19j0n5V/hVRe3WJ5tLg0CI/ySA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sufVq-00034v-DP for guix-patches@gnu.org; Sat, 28 Sep 2024 18:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73534] [PATCH] gnu: Add emacs-persid. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Sep 2024 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73534@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172756090811758 (code B ref -1); Sat, 28 Sep 2024 22:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2024 22:01:48 +0000 Received: from localhost ([127.0.0.1]:49299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sufVb-00033Y-Ve for submit@debbugs.gnu.org; Sat, 28 Sep 2024 18:01:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:41694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sufVT-00032B-Sp for submit@debbugs.gnu.org; Sat, 28 Sep 2024 18:01:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suf0h-0005dJ-Pz for guix-patches@gnu.org; Sat, 28 Sep 2024 17:29:51 -0400 Received: from 5.mo561.mail-out.ovh.net ([87.98.178.36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suf0f-0000pb-Ay for guix-patches@gnu.org; Sat, 28 Sep 2024 17:29:51 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.176.198]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4XGL8B5HxPz1PnY for ; Sat, 28 Sep 2024 21:29:46 +0000 (UTC) Received: from ghost-submission-55b549bf7b-2gtrw (unknown [10.111.182.47]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 484011FD42; Sat, 28 Sep 2024 21:29:46 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-55b549bf7b-2gtrw with ESMTPSA id NIcYN0l1+GbGTy8AxFqkpQ (envelope-from ); Sat, 28 Sep 2024 21:29:46 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-109S003dd11b296-db37-44f7-b9c4-a7377b4edcea, 3FED962507A27B83C54448C18F2AB3741116F08E) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Sat, 28 Sep 2024 23:29:41 +0200 Message-ID: <20240928212943.30108-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 8451567650861277922 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -5 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdduuddgudefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecufghrlhcuvffnffculddqhedmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeeigfetveeugeehueduudekfedttdehtdehjedttedtkeekgfekfeekhfehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhishgsnhdrohhrghdpihhsshhnrdhorhhgpdguohhirdhorhhgpdhnihhhrdhgohhvpdgrrhigihhvrdhorhhgnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=1vlV64DHqcVd0VlNVOQsWFVmYZshYv5SVpnTQMM4LcA=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1727558986; v=1; b=4HIfmR+Mgfw+b7gCrTxZcqP9OnMb0kFP0q7HjiOJznx21IkrLfcOpAv4jgpPMxAef4ZEBb2n GKzjmDqRSPIQ0lpVO95FJBAM1OaT02LZ0ccKVSe4zKg14wBRx68Qx8Ruyh5P+MSfHFBbms3mmAo 1HehGzLoPlioLmVmT1JgaRAKxsHuqGM0I64VgH/NGCXAnN9fECcXIEbUIcL10nywcLIPED9oJHx gB/RkL4Q/JwPTmxIJBvRrrJwUKViRjEdwSHL8NsfdkdXwPAapO6VmNeMSCQXRRslSd0ajPG1+3O tR3eNf5jZcU5kWKxGOxAiKby1pg4PYnj55Bju3wa7RJFA== Received-SPF: pass client-ip=87.98.178.36; envelope-from=ngraves@ngraves.fr; helo=5.mo561.mail-out.ovh.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")