2011-01-24 23:52:22 +00:00
|
|
|
{ fetchurl, stdenv,
|
|
|
|
libX11, libXrandr, libXxf86vm, libxcb, pkgconfig, python,
|
|
|
|
randrproto, xcbutil, xf86vidmodeproto }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-06-07 01:13:54 +01:00
|
|
|
pname = "redshift";
|
2013-08-14 16:16:56 +01:00
|
|
|
version = "1.7";
|
2013-06-07 01:13:54 +01:00
|
|
|
name = "${pname}-${version}";
|
2011-01-24 23:52:22 +00:00
|
|
|
src = fetchurl {
|
2013-06-07 01:13:54 +01:00
|
|
|
url = "http://launchpad.net/${pname}/trunk/${version}/+download/${pname}-${version}.tar.bz2";
|
2013-08-14 16:16:56 +01:00
|
|
|
sha256 = "1j0hs0vnlic90cf4bryn11n4ani1x2s5l8z6ll3fmrlw98ykrylv";
|
2011-01-24 23:52:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXrandr libXxf86vm libxcb pkgconfig python
|
|
|
|
randrproto xcbutil xf86vidmodeproto ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "changes the color temperature of your screen gradually";
|
|
|
|
longDescription = ''
|
|
|
|
The color temperature is set according to the position of the
|
|
|
|
sun. A different color temperature is set during night and
|
|
|
|
daytime. During twilight and early morning, the color
|
|
|
|
temperature transitions smoothly from night to daytime
|
|
|
|
temperature to allow your eyes to slowly adapt.
|
|
|
|
'';
|
|
|
|
license = "GPLv3+";
|
|
|
|
homepage = "http://jonls.dk/redshift";
|
|
|
|
};
|
2013-06-07 01:13:54 +01:00
|
|
|
}
|