Subject: [bug#71347] [PATCH] gnu: Add emacs-org-timeblock.

From: Ilya Chernyshov <[email-masked]>
Date: Tue, 04 Jun 2024 01:00:33 +0700

* gnu/packages/emacs-xyz.scm (emacs-org-timeblock): New variable.

Change-Id: I7a5844bc11d263131b4e1d2fb23a223747c4f63c
---
 gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2209169864..c15e99c9fc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23545,6 +23545,35 @@ (define-public emacs-org-recur
 for defining recurring tasks and easily scheduling them.")
     (license license:gpl3+)))
 
+(define-public emacs-org-timeblock
+  (let ((revision "0")
+        (commit "b423b01712b9c25dff3e4203c7cde736225f62ef"))
+    (package
+      (name "emacs-org-timeblock")
+      (version (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/ichernyshovvv/org-timeblock.git")
+           (commit commit)))
+         (sha256
+          (base32 "1q0271nli4yw01rwybkzdlqcj8ivqwh5r70yv9x0qqwxa955c9k9"))
+         (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-compat))
+      (home-page "https://github.com/ichernyshovvv/org-timeblock")
+      (synopsis
+       "Schedule your day visually, using timeblocking technique inside Emacs")
+      (description "The builtin orgmode package for viewing tasks or events
+for a particular day, org-agenda, does not help you to quickly understand,
+where, for example, you have free time in your day or where you have overlapping
+tasks. Just a list of tasks is not sufficient. This package is created to
+fix this problem and provide some of the functionality that modern calendars
+provide.")
+      (license license:gpl3+))))
+
 (define-public emacs-org-super-agenda
   (package
     (name "emacs-org-super-agenda")

base-commit: 2e53fa5346bf52f6d6d26e035bc905ebd410dabb
prerequisite-patch-id: fec8c38c077df9e314d4c220cc9314e3ec50d550
-- 
2.41.0