unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55864] Added the emacs-org-auto-tangle package
@ 2022-06-08 21:34 Haider Mirza
  2022-06-10  6:09 ` Liliana Marie Prikler
  2022-06-10 19:09 ` [bug#55864] " Haider Mirza
  0 siblings, 2 replies; 6+ messages in thread
From: Haider Mirza @ 2022-06-08 21:34 UTC (permalink / raw)
  To: 55864


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

Good Morning/Afternoon,
Here is a patch to add the Emacs Orgmode package specialized for lazy
people (org-auto-tangle).
Please let me know if there's any way this package definition can be improved!

Regards,
Haider.


[-- Attachment #1.2: 0001-Added-the-emacs-org-auto-tangle-package.patch --]
[-- Type: text/x-patch, Size: 1900 bytes --]

From c78b82bce0c2e77369db9432826c34d5d228734d Mon Sep 17 00:00:00 2001
From: Haider Mirza <x7and7@gmail.com>
Date: Wed, 8 Jun 2022 22:14:56 +0100
Subject: [PATCH] Added the emacs-org-auto-tangle package

---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2633b775a6..cf4f9171a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -113,6 +113,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
 ;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org>
+;;; Copyright © 2022 Haider Mirza <haider@haider.gq>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5486,6 +5487,27 @@ (define-public emacs-org-inline-pdf
 inline PDF preview in Org buffers by using pdf2svg.")
     (license license:gpl3+)))
 
+(define-public emacs-org-auto-tangle
+  (package
+   (name "emacs-org-auto-tangle")
+   (version "0.4.1")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yilkalargaw/org-auto-tangle.git")
+		  (commit version)))
+            (sha256
+             (base32
+              "1zb7vcmhmjiqpbbhqrqci689rnpn10p985cs5jk9sgg66xsbrgs3"))))
+   (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-async))
+   (home-page "https://github.com/yilkalargaw/org-auto-tangle")
+   (synopsis "Automatically tangle code blocks on save")
+   (description
+    "This package (i.e org-auto-tangle) is a very simple emacs package that allows you to automatically tangle org files on save.")
+      (license license:bsd-2)))
+
 (define-public emacs-org-rich-yank
   (package
     (name "emacs-org-rich-yank")
-- 
2.36.1


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

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

end of thread, other threads:[~2022-06-11  7:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-08 21:34 [bug#55864] Added the emacs-org-auto-tangle package Haider Mirza
2022-06-10  6:09 ` Liliana Marie Prikler
2022-06-10 19:02   ` Haider Mirza
2022-06-10 19:15     ` Haider Mirza
2022-06-11  7:23       ` bug#55864: " Liliana Marie Prikler
2022-06-10 19:09 ` [bug#55864] " Haider Mirza

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