git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "redshift: update 1.9.1 -> 1.10-git-20150222"

This reverts commit fb8308c4aff9ad86de3f2d850468cb5b4eacb43f.

commit76e67b46b51c072de9783ad6148cc6b3b36260d6 authorArseniy Seroka <ars.seroka@gmail.com> dateThu 9 Apr 2015, 03:37 (12 years ago) parent08bf6c9
2 files changed+11−13
pkgs/applications/misc/redshift/default.nix+9−13 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/redshift/default.nix+9−13
@@ -1,15 +1,13 @@
1−{ fetchFromGitHub, stdenv, libX11, libXrandr, libXxf86vm, libxcb, pkgconfig, python
1+{ fetchurl, stdenv, libX11, libXrandr, libXxf86vm, libxcb, pkgconfig, python
22, randrproto, xcbutil, xf86vidmodeproto, autoconf, automake, gettext, glib
33, GConf, dbus, dbus_glib, makeWrapper, gtk, pygtk, pyxdg, geoclue }:
44
55stdenv.mkDerivation rec {
6− version = "1.10-git-20150222";
6+ version = "1.9.1";
77 name = "redshift-${version}";
8− src = fetchFromGitHub {
9− owner = "jonls";
10− repo = "redshift";
11− rev = "8b0a67a2538d7c79b74086caab07735fa97aa047";
12− sha256 = "0559ljri81iyig9j5i259nzb0z2ml37hhw5ppclcv6l25bzrkgip";
8+ src = fetchurl {
9+ url = "https://github.com/jonls/redshift/archive/v${version}.tar.gz";
10+ sha256 = "0rj7lyg4ikwpk1hr1k2bgk9gjqvvv51z8hydsgpx2k2lqdv6lqri";
1311 };
1412
1513 buildInputs = [
@@ -23,13 +21,11 @@ stdenv.mkDerivation rec {
2321 '';
2422
2523 preInstall = ''
26− substituteInPlace src/redshift-gtk/redshift-gtk python \
27− --replace "/usr/bin/env python" "${python}/bin/${python.executable}"
24+ substituteInPlace src/redshift-gtk/redshift-gtk python --replace "/usr/bin/env python" "${python}/bin/${python.executable}"
2825 '';
2926
3027 postInstall = ''
31− wrapProgram "$out/bin/redshift-gtk" \
32− --prefix PYTHONPATH : $PYTHONPATH:${pygtk}/lib/${python.libPrefix}/site-packages/gtk-2.0:${pyxdg}/lib/${python.libPrefix}/site-packages/pyxdg:$out/lib/${python.libPrefix}/site-packages
28+ wrapProgram "$out/bin/redshift-gtk" --prefix PYTHONPATH : $PYTHONPATH:${pygtk}/lib/${python.libPrefix}/site-packages/gtk-2.0:${pyxdg}/lib/${python.libPrefix}/site-packages/pyxdg:$out/lib/${python.libPrefix}/site-packages
3329 '';
3430
3531 meta = with stdenv.lib; {
@@ -41,9 +37,9 @@ stdenv.mkDerivation rec {
4137 temperature transitions smoothly from night to daytime
4238 temperature to allow your eyes to slowly adapt.
4339 '';
44− license = licenses.gpl3Plus;
40+ license = stdenv.lib.licenses.gpl3Plus;
4541 homepage = http://jonls.dk/redshift;
4642 platforms = platforms.linux;
4743 maintainers = [ maintainers.mornfall ];
48− };
44+ };
4945}
pkgs/top-level/all-packages.nix+2
@@ -13186,6 +13186,8 @@ let
1318613186 };
1318713187
1318813188 redshift = callPackage ../applications/misc/redshift {
13189+ inherit (xorg) libX11 libXrandr libxcb randrproto libXxf86vm
13190+ xf86vidmodeproto;
1318913191 inherit (gnome) GConf;
1319013192 inherit (pythonPackages) pyxdg;
1319113193 geoclue = geoclue2;