redshift: depend on geoclue2 directly

This commit is contained in:
Tobias Geerinckx-Rice 2015-12-10 02:37:41 +01:00
parent 98bd11125f
commit 2ce24737c8
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ fetchurl, stdenv, gettext, intltool, makeWrapper, pkgconfig
, geoclue
, geoclue2
, guiSupport ? true, hicolor_icon_theme, gtk3, python, pygobject3, pyxdg
, drmSupport ? true, libdrm
, randrSupport ? true, libxcb
@ -17,7 +17,7 @@ stdenv.mkDerivation {
url = "https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz";
};
buildInputs = [ geoclue ]
buildInputs = [ geoclue2 ]
++ stdenv.lib.optionals guiSupport [ hicolor_icon_theme gtk3 python pygobject3 pyxdg ]
++ stdenv.lib.optionals drmSupport [ libdrm ]
++ stdenv.lib.optionals randrSupport [ libxcb ]

View File

@ -14655,7 +14655,6 @@ let
redshift = callPackage ../applications/misc/redshift {
inherit (python3Packages) python pygobject3 pyxdg;
geoclue = geoclue2;
};
orion = callPackage ../misc/themes/orion {};