mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
gramps: add macOS app bundle
This commit is contained in:
parent
91bf6dffa2
commit
2aa7130da4
1 changed files with 14 additions and 7 deletions
|
@ -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 =
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue