Author: cillian
Date: Mon Jan 24 23:52:22 2011
New Revision: 25686
URL: https://svn.nixos.org/websvn/nix/?rev=25686&sc=1
Log:
Adding redshift; it changes the color temperature of your screen gradually to
match the lighting conditions
Added:
nixpkgs/trunk/pkgs/applications/misc/redshift/
nixpkgs/trunk/pkgs/applications/misc/redshift/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/misc/redshift/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/misc/redshift/default.nix Mon Jan 24
23:52:22 2011 (r25686)
@@ -0,0 +1,28 @@
+{ fetchurl, stdenv,
+ libX11, libXrandr, libXxf86vm, libxcb, pkgconfig, python,
+ randrproto, xcbutil, xf86vidmodeproto }:
+
+stdenv.mkDerivation rec {
+ name = "redshift";
+ version = "1.6";
+ src = fetchurl {
+ url =
"http://launchpad.net/${name}/trunk/${version}/+download/${name}-${version}.tar.bz2";
+ sha256 = "0g46zhqnx3y2fssmyjgaardzhjw1j29l1dbc2kmccw9wxqfla1wi";
+ };
+
+ 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";
+ };
+}
\ No newline at end of file
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Jan 24 22:29:29
2011 (r25685)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Mon Jan 24 23:52:22
2011 (r25686)
@@ -7162,9 +7162,14 @@
pkgs_for_46.newScope pkgs_for_46.kde46;
};
+ redshift = callPackage ../applications/misc/redshift {
+ inherit (xorg) libX11 libXrandr libxcb randrproto libXxf86vm
+ xf86vidmodeproto;
+ };
+
oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk {
- inherit (gtkLibs) glib gtk;
- };
+ inherit (gtkLibs) glib gtk;
+ };
xfce = xfce4;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits