Commit 2aa7130d authored by Michael Hoang's avatar Michael Hoang
Browse files

gramps: add macOS app bundle

parent 91bf6dff
Loading
Loading
Loading
Loading
+14 −7
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitHub,
  gtk3,
@@ -10,6 +11,7 @@
  gobject-introspection,
  wrapGAppsHook3,
  gettext,
  desktopToDarwinBundle,
  # Optional packages:
  enableOSM ? true,
  osm-gps-map,
@@ -52,12 +54,17 @@ buildPythonApplication rec {
    python3Packages.setuptools
  ];

  nativeCheckInputs = [
  nativeCheckInputs =
    [
      glibcLocales
      python3Packages.unittestCheckHook
      python3Packages.jsonschema
      python3Packages.mock
      python3Packages.lxml
    ]
    # TODO: use JHBuild to build the Gramps' bundle
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      desktopToDarwinBundle
    ];

  buildInputs =