Skip to content

Commit 2aa7130

Browse files
committed
gramps: add macOS app bundle
1 parent 91bf6df commit 2aa7130

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

pkgs/by-name/gr/gramps/package.nix

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
stdenv,
23
lib,
34
fetchFromGitHub,
45
gtk3,
@@ -10,6 +11,7 @@
1011
gobject-introspection,
1112
wrapGAppsHook3,
1213
gettext,
14+
desktopToDarwinBundle,
1315
# Optional packages:
1416
enableOSM ? true,
1517
osm-gps-map,
@@ -52,13 +54,18 @@ buildPythonApplication rec {
5254
python3Packages.setuptools
5355
];
5456

55-
nativeCheckInputs = [
56-
glibcLocales
57-
python3Packages.unittestCheckHook
58-
python3Packages.jsonschema
59-
python3Packages.mock
60-
python3Packages.lxml
61-
];
57+
nativeCheckInputs =
58+
[
59+
glibcLocales
60+
python3Packages.unittestCheckHook
61+
python3Packages.jsonschema
62+
python3Packages.mock
63+
python3Packages.lxml
64+
]
65+
# TODO: use JHBuild to build the Gramps' bundle
66+
++ lib.optionals stdenv.hostPlatform.isDarwin [
67+
desktopToDarwinBundle
68+
];
6269

6370
buildInputs =
6471
[

0 commit comments

Comments
 (0)