[PATCH] Add emacs-leetcode.

  • Done
  • quality assurance status badge
Details
2 participants
  • Brian Leung
  • Oleg Pyhalov
Owner
unassigned
Submitted by
Brian Leung
Severity
normal
B
B
Brian Leung wrote on 4 Sep 2019 12:13
(address . guix-patches@gnu.org)
CAAc=MEwSfQFAxrptFQi-Ap6FTSdmPGmb4xs5f=vcO2+xjrb-2A@mail.gmail.com
See attached.
Attachment: file
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(+)

Toggle diff (38 lines)
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
O
O
Oleg Pyhalov wrote on 6 Sep 2019 11:44
(name . Brian Leung)(address . bkleung89@gmail.com)
87woelrc7k.fsf@majordomo.ru
Brian Leung <bkleung89@gmail.com> writes:

Toggle quote (10 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl1yKm8ACgkQFn+OpQAa
+pzm0hAAy0KXZF22M7A6ITfcnK9QOopjvndsxRE9uzceCVSUAYZC4KQUyai/ac1F
Q/5DefixVZPBxvsWpMvPa2DNsoC4Jf7/+jloHmOB3Vtju+sqH96b0I6ap+2LhAsG
Mg/nR0VmxR/t07cAVQ7E9n5y8TQMgs6c2DjRSaiYw+HrEg3wOJI4nJ3mhxZZpZa3
xsx65CBX8/OxykYs3oWKgUeQEsfB6EXlLSvy3U6bvTSBEn659HIJdPkcEau76ezR
G17EzqfAzE/p/vMPZuvl0pRKhsUWNLmSwaiU9YUavGeWPncfWfN8HMm23Fi0M/bq
xw/ykCUptcC0up+KAHABkz1BsGH0mvJqmEJMRYI6lzqTQiRxwsY9nr9FNyySFUJI
53nn0Vo73sEgC+UDQbEgb5ND/qyNLNZ4AYmN/UWb4G4t/8Hc9JOpGA/kOVDJxQHp
/lxhsqzHVk5Rq9qaHFKp3cG/XgbBBM5VDvqmIjLNDrKpQzqTUpbyHiU9yN6WhwAt
lvmTmmKyNpwECGS8qgyAi4OHdbN52/lTLvL1ygJB48VB+VSYKMPy2VgvROIrh3lS
DTQrSBoNO3SwOzU2vIiepul5OvuGEM8FFxo/yP3yUF/LDLbU0jXgTdGeGc5+IoKq
mdjEPWHhS3ocStq7yo8C3bMrNuWEzMAB/VRUam9FFo5JbuWVsco=
=x4jn
-----END PGP SIGNATURE-----

?