[bug#36528,2/2] gnu: Add emacs-polymode-org.
diff mbox series

Message ID 87muhrqnko.fsf@odyssey.lafreniere.xyz
State New
Headers show
Series
  • [bug#36528,1/2] gnu: emacs-polymode: Update to 0.2.
Related show

Commit Message

LaFreniere\, Joseph July 6, 2019, 1:51 p.m. UTC
--
Joseph LaFreniere

Comments

Ludovic Court├Ęs July 8, 2019, 11:05 a.m. UTC | #1
"LaFreniere, Joseph" <joseph@lafreniere.xyz> skribis:

>>From e18a93f3cdb6c1e317600f582f71733066436c6c Mon Sep 17 00:00:00 2001
> From: Joseph LaFreniere <joseph@lafreniere.xyz>
> Date: Thu, 4 Jul 2019 23:11:46 -0500
> Subject: [PATCH 2/2] gnu: Add emacs-polymode-org.
>
> * gnu/packages/emacs-xyz.scm (emacs-polymode-org): New variable.

Applied, thanks!

Patch
diff mbox series

From e18a93f3cdb6c1e317600f582f71733066436c6c Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Thu, 4 Jul 2019 23:11:46 -0500
Subject: [PATCH 2/2] gnu: Add emacs-polymode-org.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b872c36b4b..583bc5a315 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9218,6 +9218,33 @@  literate programming tools for exporting, weaving and tangling.")
        "Edit YAML files for Ansible containing embedded Jinja2 templating.")
       (license license:gpl3+))))
 
+(define-public emacs-polymode-org
+  (package
+    (name "emacs-polymode-org")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/polymode/poly-org.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "04x6apjad4kg30456z1j4ipp64yjgkcaim6hqr6bb0rmrianqhck"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-polymode" ,emacs-polymode)))
+    (properties '((upstream-name . "poly-org")))
+    (home-page "https://github.com/polymode/poly-org")
+    (synopsis "Polymode definitions for Org mode buffers")
+    (description
+     "Provides definitions for @code{emacs-polymode} to support
+@code{emacs-org} buffers.  Edit source blocks in an Org mode buffer using the
+native modes of the blocks' languages while remaining inside the primary Org
+buffer.")
+    (license license:gpl3+)))
+
 (define-public eless
   (package
     (name "eless")
-- 
2.22.0