mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
redshift: depend on geoclue2 directly
This commit is contained in:
parent
98bd11125f
commit
2ce24737c8
@ -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 ]
|
||||
|
@ -14655,7 +14655,6 @@ let
|
||||
|
||||
redshift = callPackage ../applications/misc/redshift {
|
||||
inherit (python3Packages) python pygobject3 pyxdg;
|
||||
geoclue = geoclue2;
|
||||
};
|
||||
|
||||
orion = callPackage ../misc/themes/orion {};
|
||||
|
Loading…
Reference in New Issue
Block a user