unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37301] [PATCH] Add emacs-leetcode.
@ 2019-09-04 10:13 Brian Leung
  2019-09-06  9:44 ` Oleg Pyhalov
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2019-09-04 10:13 UTC (permalink / raw)
  To: 37301


[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]

See attached.

[-- Attachment #1.2: Type: text/html, Size: 35 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-leetcode.patch --]
[-- Type: text/x-patch, Size: 1906 bytes --]

From f58ec5f289ede6dc2508cf363fa1f94b7fe6d5c9 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Wed, 4 Sep 2019 12:01:37 +0200
Subject: [PATCH] gnu: Add emacs-leetcode.

* gnu/packages/emacs-xyz.scm (emacs-leetcode): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index be88802071..f006183475 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15802,6 +15802,31 @@ buffers, etc.  It also has plug-ins to help your Emacs life.")
 programs can use this table component for the application UI.")
       (license license:gpl3+))))
 
+(define-public emacs-leetcode
+  (let ((commit "8624496af9e105c3e07d88844b37ede87540d604")
+        (revision "1"))
+    (package
+      (name "emacs-leetcode")
+      (version (git-version "0" "1" commit))
+      (home-page "https://github.com/ginqi7/leetcode-emacs.git")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ginqi7/leetcode-emacs")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "11pp7ydlmwrv7djf9mwk4xzn295xbmdnj5x13bfj5yjpjr89p531"))
+                (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-names" ,emacs-names)
+         ("emacs-ctable" ,emacs-ctable)))
+      (synopsis "Solve and submit LeetCode problems from within Emacs")
+      (description "This package provides an Emacs interface to LeetCode
+allowing users to log in and solve problems of their choice using Emacs.")
+      (license license:unlicense))))
+
 (define-public emacs-epc
   (let ((commit "e1bfa5ca163273859336e3cc89b4b6460f7f8cda"))
     (package
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#37301] [PATCH] Add emacs-leetcode.
  2019-09-04 10:13 [bug#37301] [PATCH] Add emacs-leetcode Brian Leung
@ 2019-09-06  9:44 ` Oleg Pyhalov
  0 siblings, 0 replies; 2+ messages in thread
From: Oleg Pyhalov @ 2019-09-06  9:44 UTC (permalink / raw)
  To: Brian Leung; +Cc: 37301-done, 37301

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

Brian Leung <bkleung89@gmail.com> writes:

> See attached.
> From f58ec5f289ede6dc2508cf363fa1f94b7fe6d5c9 Mon Sep 17 00:00:00 2001
> From: Brian Leung <bkleung89@gmail.com>
> Date: Wed, 4 Sep 2019 12:01:37 +0200
> Subject: [PATCH] gnu: Add emacs-leetcode.
>
> * gnu/packages/emacs-xyz.scm (emacs-leetcode): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
[…]

Thank you. Pushed to master.

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-06  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 10:13 [bug#37301] [PATCH] Add emacs-leetcode Brian Leung
2019-09-06  9:44 ` Oleg Pyhalov

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).