Subject: [PATCH] gnu: Add wlsunset.
From: raingloom <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Sun, 5 Sep 2021 07:11:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/xdisorg.scm (wlsunset): New variable.
---
 gnu/packages/xdisorg.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 006b1c11ac..396a704d80 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -3015,3 +3015,31 @@ System.  This includes such features as
MouseKeys, AccessX, StickyKeys, BounceKeys, and SlowKeys.  It includes
a graphical program to help with MouseKeys-acceleration management.")
     (license license:bsd-3)))
+
+(define-public wlsunset
+  (package
+    (name "wlsunset")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.sr.ht/~kennylevinsen/wlsunset/")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0hhsddh3rs066rbsjksr8kcwg8lvglbvs67dq0r5wx5c1xcwb51w"))))
+    (build-system meson-build-system)
+    (inputs
+     `(("wayland-protocols" ,wayland-protocols)
+       ("wayland" ,wayland)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (synopsis "Day/night gamma adjustments for Wayland compositors")
+    (home-page "https://sr.ht/~kennylevinsen/wlsunset/")
+    (description
+     "Day/night gamma adjustments for Wayland compositors supporting
+wlr-gamma-control-unstable-v1.  Also known as a blue light filter or
night +light.")
+    (license license:expat)))
-- 
2.32.0