How could anyone live without this? I am disappoint.. I couldn't try it on bare metal yet and the drm and randr methods fail in qemu. Maybe someone can test it? Thanks? Flo diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 4b5308c..c0ef4bc 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -655,3 +655,28 @@ use it as well.") "The xf86-input-wacom driver is the wacom-specific X11 input driver for the X.Org X Server version 1.7 and later (X11R7.5 or later).") (license license:x11))) + +(define-public redshift + (package + (name "redshift") + (version "1.10") + (source + (origin + (method url-fetch) + (uri "https://github.com/jonls/redshift/releases/download/v1.10/redshift-1.10.tar.xz") + (sha256 + (base32 + "19pfk9il5x2g2ivqix4a555psz8mj3m0cvjwnjpjvx0llh5fghjv")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("intltool" ,intltool) + ("lobdrm" ,libdrm) + ("libx11" ,libx11) + ("libxcb" ,libxcb) + ("geoclue" ,geoclue))) + (home-page "https://github.com/jonls/redshift") + (synopsis "Redshift adjusts the color temperature of your screen according to your surroundings.") + (description "This may help your eyes hurt less if you are working in front of the screen at night.") + (license license:gpl3)))