mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #50555 from oxij/pkgs/redshift-geo
redshift: introduce `withGeolocation` option
This commit is contained in:
commit
eab355a5bd
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user