+(define-public emacs-helm-selector
+ (package
+ (name "emacs-helm-selector")
+ (version "0.2")
+ (home-page "https://github.com/emacs-helm/helm-selector")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1c7xhrq1mivldyq3rglpmfypbz44dcm7zrgyha6x09cfixlyfbcp"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-helm" ,emacs-helm)))
+ (synopsis "Convenient related-buffer selection for Emacs Helm")
+ (description "Helm Selector is a collection of Helm helper functions for
+convenient buffer selection.
+
+It is especially helpful to create Helm sessions to navigate buffers of a
+given mode in a “do what I mean” fashion:
+
+If current buffer is not of mode X, switch to last buffer of mode X. If
+current buffer is of mode X, show a Helm session of all buffers in mode X. In
+the Helm session, it’s also possible to input an arbitrary name which will be
+used for the creation of a new buffer of mode X.")
+ (license license:gpl3+)))
+
+(define-public emacs-helm-wordnut
+ (let ((commit "9681a9535a839cd5d042c302945ae595852fe7bf"))
+ (package
+ (name "emacs-helm-wordnut")
+ (version (git-version "0.1" "1" commit))
+ (home-page "https://github.com/emacs-helm/helm-wordnut")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0msj7nbsb363pxamxi7n2z08cp5jizkpjbwia8f5a161wjglrihs"))))
+ (build-system emacs-build-system)
+ (inputs
+ `(("wordnet" ,wordnet)))
+ (propagated-inputs
+ `(("emacs-helm" ,emacs-helm)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((wn (assoc-ref inputs "wordnet")))
+ ;; .el is read-only in git.
+ (chmod "helm-wordnut.el" #o644)
+ ;; Specify the absolute file names of the various
+ ;; programs so that everything works out-of-the-box.
+ (emacs-substitute-variables "helm-wordnut.el"
+ ("helm-wordnut-prog" (string-append wn "/bin/wn"))
+ ("helm-wordnut-wordnet-location"
+ (string-append wn "/dict")))))))))
+ (synopsis "Emacs Helm interface for Wordnet")
+ (description "This package is merely a combination of two other Emacs
+packages: @code{helm-wordnet} and @code{wordnut}. It features word completion
+with Helm and displays a buffer of all the different result types available to
+Wordnet.")
+ (license license:gpl3+))))
+