Merge pull request #50555 from oxij/pkgs/redshift-geo

redshift: introduce `withGeolocation` option
This commit is contained in:
Joachim F 2018-11-18 15:38:45 +00:00 committed by GitHub
commit eab355a5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,14 @@
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobjectIntrospection
, gtk3, python, pygobject3, hicolor-icon-theme, pyxdg
, withCoreLocation ? stdenv.isDarwin, CoreLocation, Foundation, Cocoa
, withQuartz ? stdenv.isDarwin, ApplicationServices
, withRandr ? stdenv.isLinux, libxcb
, withDrm ? stdenv.isLinux, libdrm
, withGeoclue ? stdenv.isLinux, geoclue }:
, withGeolocation ? true
, withCoreLocation ? withGeolocation && stdenv.isDarwin, CoreLocation, Foundation, Cocoa
, withGeoclue ? withGeolocation && stdenv.isLinux, geoclue
}:
stdenv.mkDerivation rec {
name = "redshift-${version}";