diff options
author | Alex McGrath <amk@amk.ie> | 2020-05-02 18:51:56 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-05-04 16:24:43 +0200 |
commit | c65e243463c704698288bad787cd6f5292280bba (patch) | |
tree | cbbe386fd02a916e48ab1b7ddc47b294d17e631a | |
parent | 08dfff747b2f6e11ed9b12a6a09cfa0178ec8083 (diff) | |
download | guix-c65e243463c704698288bad787cd6f5292280bba.tar.gz |
gnu: Add j4-dmenu-desktop.
* gnu/packages/xdisorg.scm (j4-dmenu-desktop): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
-rw-r--r-- | gnu/packages/xdisorg.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index df61a95cbb..2d19dab137 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2020 Damien Cassou <damien@cassou.me> ;;; Copyright © 2020 John Soo <jsoo1@asu.edu> ;;; Copyright © 2020 Boris A. Dekshteyn <boris.dekshteyn@gmail.com> +;;; Copyright © 2020 Alex McGrath <amk@amk.ie> ;;; ;;; This file is part of GNU Guix. ;;; @@ -2324,3 +2325,34 @@ some kind of chat (in native language). @command{kbdd} also supports D-Bus signals, which makes it possible to create layout indicator widgets.") (license license:bsd-2))) + +(define-public j4-dmenu-desktop + (package + (name "j4-dmenu-desktop") + (version "2.17") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/enkore/j4-dmenu-desktop.git") + (commit (string-append "r" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v23fimkn83dcm5p53y2ymhklff3kwppxhf75sm8xmswrzkixpgc")))) + (build-system cmake-build-system) + (native-inputs + `(("catch2" ,catch-framework2))) + (arguments + `(#:configure-flags '("-DWITH_GIT_CATCH=off") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "./j4-dmenu-tests" "exclude:SearchPath/XDG_DATA_HOME")))))) + (synopsis "Fast desktop menu") + (description + "j4-dmenu-desktop is a replacement for i3-dmenu-desktop. Its purpose +is to find @file{.desktop} files and offer you a menu to start an application +using @command{dmenu}.") + (home-page "https://github.com/enkore/j4-dmenu-desktop") + (license license:gpl3+))) |