···1515, gtk4
1616, libadwaita
1717, pango
1818+, gettext
1819, darwin
1920}:
2021···5455 gtk4
5556 libadwaita
5657 pango
5757- ] ++ lib.optionals stdenv.isDarwin [
5858- darwin.apple_sdk.frameworks.Security
5959- ];
5858+ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
5959+ CoreFoundation
6060+ Foundation
6161+ Security
6262+ ]);
6363+6464+ # Darwin needs to link against gettext from nixpkgs instead of the one vendored by gettext-sys
6565+ # because the vendored copy does not build with newer versions of clang.
6666+ env = lib.optionalAttrs stdenv.isDarwin {
6767+ GETTEXT_BIN_DIR = "${lib.getBin gettext}/bin";
6868+ GETTEXT_INCLUDE_DIR = "${lib.getDev gettext}/include";
6969+ GETTEXT_LIB_DIR = "${lib.getLib gettext}/lib";
7070+ };
60716172 meta = {
6273 description = "GTK4 frontend for the travel information of the german railway";