mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add emacs-helm-org-ql.
* gnu/packages/emacs-xyz.scm (emacs-helm-org-ql): New variable. (emacs-org-ql)[phases]: Add phase 'remove-helm-org-ql. [propagated-inputs]: Remove emacs-helm, emacs-helm-org. The author didn't mean to make the package depend on helm : "Note that Helm is not declared as a package dependency, so this does not cause Helm to be installed.", but the way we packaged it in Guix did. Split the extension into a separate dependency instead, this avoids 3 Mo to be propagated in a profile where it's not meant. Change-Id: I3537c0b08cfffac3d66b761173761a3806497358 Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
parent
37719d3ec8
commit
a682ddd708
1 changed files with 34 additions and 3 deletions
|
@ -23860,15 +23860,18 @@ interactive commands and functions, such as @code{completing-read}.")
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? #f ;FIXME: check phase freezes
|
#:tests? #f ;FIXME: check phase freezes
|
||||||
#:test-command #~(list "buttercup" "-L" ".")))
|
#:test-command #~(list "buttercup" "-L" ".")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-helm-org-ql
|
||||||
|
(lambda _
|
||||||
|
(delete-file "helm-org-ql.el"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list emacs-buttercup emacs-with-simulated-input emacs-xr))
|
(list emacs-buttercup emacs-with-simulated-input emacs-xr))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list emacs-compat
|
(list emacs-compat
|
||||||
emacs-dash
|
emacs-dash
|
||||||
emacs-f
|
emacs-f
|
||||||
emacs-helm
|
|
||||||
emacs-helm-org
|
|
||||||
emacs-org
|
emacs-org
|
||||||
emacs-org-super-agenda
|
emacs-org-super-agenda
|
||||||
emacs-ov
|
emacs-ov
|
||||||
|
@ -23881,6 +23884,34 @@ interactive commands and functions, such as @code{completing-read}.")
|
||||||
files, allowing for actions to be performed based on search criteria.")
|
files, allowing for actions to be performed based on search criteria.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public emacs-helm-org-ql
|
||||||
|
(package
|
||||||
|
(inherit emacs-org-ql)
|
||||||
|
(name "emacs-helm-org-ql")
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #f ;no tests
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-emacs-org-ql
|
||||||
|
(lambda _
|
||||||
|
(install-file "helm-org-ql.el" "..")
|
||||||
|
(let ((cwd (getcwd)))
|
||||||
|
(with-directory-excursion ".."
|
||||||
|
(delete-file-recursively cwd)
|
||||||
|
(mkdir cwd)
|
||||||
|
(install-file "helm-org-ql.el" cwd))))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list emacs-dash
|
||||||
|
emacs-helm
|
||||||
|
emacs-helm-org
|
||||||
|
emacs-org-ql
|
||||||
|
emacs-s))
|
||||||
|
(synopsis "Helm commands for @code{emacs-org-ql}")
|
||||||
|
(description "This package provides @code{emacs-helm} commands for
|
||||||
|
@{emacs-org-ql}, a Lispy query language for Org files, allowing for actions to
|
||||||
|
be performed based on search criteria.")))
|
||||||
|
|
||||||
(define-public emacs-bing-dict
|
(define-public emacs-bing-dict
|
||||||
(package
|
(package
|
||||||
(name "emacs-bing-dict")
|
(name "emacs-bing-dict")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue