gramps: add macOS app bundle

This commit is contained in:
Michael Hoang 2025-05-07 17:49:11 +10:00
parent 91bf6dffa2
commit 2aa7130da4

View file

@ -1,4 +1,5 @@
{ {
stdenv,
lib, lib,
fetchFromGitHub, fetchFromGitHub,
gtk3, gtk3,
@ -10,6 +11,7 @@
gobject-introspection, gobject-introspection,
wrapGAppsHook3, wrapGAppsHook3,
gettext, gettext,
desktopToDarwinBundle,
# Optional packages: # Optional packages:
enableOSM ? true, enableOSM ? true,
osm-gps-map, osm-gps-map,
@ -52,13 +54,18 @@ buildPythonApplication rec {
python3Packages.setuptools python3Packages.setuptools
]; ];
nativeCheckInputs = [ nativeCheckInputs =
glibcLocales [
python3Packages.unittestCheckHook glibcLocales
python3Packages.jsonschema python3Packages.unittestCheckHook
python3Packages.mock python3Packages.jsonschema
python3Packages.lxml python3Packages.mock
]; python3Packages.lxml
]
# TODO: use JHBuild to build the Gramps' bundle
++ lib.optionals stdenv.hostPlatform.isDarwin [
desktopToDarwinBundle
];
buildInputs = buildInputs =
[ [