summary refs log tree commit diff
path: root/gnu/packages/wm.scm
diff options
context:
space:
mode:
authorqblade <qblade@protonmail.com>2021-03-26 01:33:42 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-26 14:40:31 +0100
commit2e9cdb6a65aa0260f01110d26e83080e898ea0a5 (patch)
treebf70bc611366374e13c9bc6620c9d5cdc18b1743 /gnu/packages/wm.scm
parenta0dbf1bafc016a9fa96e4b4220d20a537f3a8fa0 (diff)
downloadguix-2e9cdb6a65aa0260f01110d26e83080e898ea0a5.tar.gz
gnu: Add hikari.
* gnu/packages/wm.scm (hikari): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/wm.scm')
-rw-r--r--gnu/packages/wm.scm52
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3d85392394..a637bce602 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2400,3 +2400,55 @@ for wayland conceptually based on the X11 window manager
      (description "libucl implements a configuration language that is easy to
 read and write, and compatible with JSON.")
     (license license:bsd-2)))
+
+(define-public hikari
+  (package
+    (name "hikari")
+    (version "2.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hikari.acmelabs.space/releases/hikari-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1qsd1qb4bn24jh5658gxmfg6hk9p7g235gsbvnjrbfdjqsv8r6yz"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("bmake" ,bmake)
+       ("pkg-config" ,pkg-config)
+       ("wayland-protocols" ,wayland-protocols)))
+    (inputs
+     `(("wayland" ,wayland)
+       ("wlroots" ,wlroots)
+       ("libinput" ,libinput)
+       ("cairo" ,cairo)
+       ("pango" ,pango)
+       ("libxkbcommon" ,libxkbcommon)
+       ("libucl" ,libucl)
+       ("pam" ,linux-pam)))
+    (arguments
+     `(#:tests? #f ; no tests
+       #:make-flags
+       (list
+        (string-append "PREFIX=" (assoc-ref %outputs "out"))
+        (string-append "CC=" ,(cc-for-target))
+        "WITH_XWAYLAND=YES"
+        "WITH_SCREENCOPY=YES"
+        "WITH_LAYERSHELL=YES"
+        "WITH_VIRTUAL_INPUT=YES")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'build
+           (lambda* (#:key inputs outputs make-flags #:allow-other-keys)
+             (apply invoke "bmake" make-flags)))
+         (replace 'install
+           (lambda* (#:key inputs outputs make-flags #:allow-other-keys)
+             (apply invoke "bmake" "install" make-flags))))))
+    (home-page "https://hikari.acmelabs.space/")
+    (synopsis "Stacking Wayland compositor with additional tiling capabilities")
+    (description "Stacking Wayland compositor with additional tiling
+capabilities, it is heavily inspired by the Calm Window manager(cwm)")
+    (license license:bsd-2)))