guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH, WIP] new variable: redshift


From: Jeff Mickey
Subject: Re: [PATCH, WIP] new variable: redshift
Date: Tue, 24 Nov 2015 07:59:06 -0800
User-agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu)

Don't know what others think, but we should probably also package
redshift-gtk if we're gonna include redshift. Mine has a bug where icons
don't show up so I didn't push it, but see here for what I use locally:

https://github.com/codemac/guix-pkgs/blob/master/src/codemac/packages/redshift.scm

  //  codemac
  
* Florian Paul Schmidt <address@hidden> [2015-11-24 01:23]:
> Updated to make lint happy
>
> diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
> index 4b5308c..6a84e8c 100644
> --- a/gnu/packages/xdisorg.scm
> +++ b/gnu/packages/xdisorg.scm
> @@ -655,3 +655,33 @@ 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)
> +       ("libdrm" ,libdrm)
> +       ("libx11" ,libx11)
> +       ("libxcb" ,libxcb)
> +       ("geoclue" ,geoclue)))
> +    (home-page "https://github.com/jonls/redshift";)
> +    (synopsis
> +     "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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]