Subject: [bug#65753] [PATCH v2 2/2] gnu: Add emacs-org-ql-dynamic-agenda.

From: Nicolas Graves <[email-masked]>
Date: Tue, 5 Sep 2023 12:36:11 +0200

* gnu/packages/emacs-xyz.scm (emacs-org-ql-dynamic-agenda): New variable.
---
 gnu/packages/emacs-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3d6df8efa3..22f48a0326 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31145,6 +31145,18 @@ (define-public emacs-org-dynamic-agenda
      "This package dynamically generates org-agenda-files.")
     (license license:gpl3+)))
 
+(define-public emacs-org-ql-dynamic-agenda
+  (package
+    (inherit emacs-org-dynamic-agenda)
+    (name "emacs-org-ql-dynamic-agenda")
+    (arguments
+     (list #:include
+           #~(list "org-ql-dynamic-agenda\\.el" "README\\.org")))
+    (propagated-inputs (list emacs-org-ql))
+    (description
+     "This package dynamically generates org-agenda-files, and take advantage
+of the org-ql cache.")))
+
 (define-public emacs-dash-docs
   (let ((commit "dafc8fc9f1ddb2e4e39e0b8d066c42d5d7ce8d06")
         (revision "2"))
-- 
2.41.0