unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Noah Evans via Guix-patches via <guix-patches@gnu.org>
To: "45754@debbugs.gnu.org" <45754@debbugs.gnu.org>
Subject: [bug#45754] [PATCH] gnu: Add emacs-anki-editor
Date: Sun, 10 Jan 2021 20:33:49 +0000	[thread overview]
Message-ID: <rgkFk9FymZ8PWH3y78vkflDhpFMBycMGo0jElaabsIZXrLotKntj45Vig2Oq_YXRsYIMzEur3a3rVrSX9-yzq9wzWifEshNQsWGQPoM-IGQ=@protonmail.com> (raw)
In-Reply-To: <875z44oc8c.fsf@nicolasgoaziou.fr>

Thank you for the feedback, here is an updated patch.

From 197ef9f0ebd4473cd9590bcbfd7d77781191c308 Mon Sep 17 00:00:00 2001
From: Noah Evans <noah@nevans.me>
Date: Sun, 10 Jan 2021 15:25:02 -0500
Subject: [PATCH] gnu: Add emacs-anki-editor

* gnu/packages/emacs-xyz.scm (emacs-anki-editor): New variable.
---
 gnu/packages/emacs-xyz.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 76cbe7e075..2a94939a3e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -88,7 +88,7 @@
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2020 André A. Gomes <andremegafone@gmail.com>
 ;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
-;;; Copyright © 2020 Noah Evans <noah@nevans.me>
+;;; Copyright © 2020, 2021 Noah Evans <noah@nevans.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6344,6 +6344,37 @@ drill sessions to aid in memorization.  In these sessions you are shown flash
 cards created in Org mode.")
     (license license:gpl3+)))

+(define-public emacs-anki-editor
+  ;; Last release was in 2018
+  (let ((commit "546774a453ef4617b1bcb0d1626e415c67cc88df")
+        (revision "0")
+        (version "0.3.3"))
+    (package
+      (name "emacs-anki-editor")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/louietan/anki-editor")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1if610hq5j8rbjh1caw5bwbgnsn231awwxqbpwvrh966kdxzl4qf"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-dash" ,emacs-dash)
+         ("emacs-request" ,emacs-request)))
+      (home-page
+       "https://github.com/louietan/anki-editor")
+      (synopsis
+       "Minor mode for making Anki cards with Org mode")
+      (description
+       "This package is for people who use Anki as a spaced repetition system
+(SRS) but would like to make cards in Org mode.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-superstar
   (package
     (name "emacs-org-superstar")
--
2.30.0





  reply	other threads:[~2021-01-10 20:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10  6:07 [bug#45754] [PATCH] gnu: Add emacs-anki-editor Noah Evans via Guix-patches via
2021-01-10 18:53 ` Nicolas Goaziou
2021-01-10 20:33   ` Noah Evans via Guix-patches via [this message]
2021-01-12  8:41     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='rgkFk9FymZ8PWH3y78vkflDhpFMBycMGo0jElaabsIZXrLotKntj45Vig2Oq_YXRsYIMzEur3a3rVrSX9-yzq9wzWifEshNQsWGQPoM-IGQ=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=45754@debbugs.gnu.org \
    --cc=clonex100@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).