gramps: add support for recommended packages
The GRAMPS readme indicates there are a number of recommended packages (graphviz, ghostscript, PyICU and osm-gps-map which was already supported). These default to true.
This commit is contained in:
parent
938a0ddf4a
commit
5a8a982526
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool, gnome3,
|
||||
pango, gobjectIntrospection, wrapGAppsHook,
|
||||
# Optional packages:
|
||||
enableOSM ? true, osm-gps-map
|
||||
enableOSM ? true, osm-gps-map,
|
||||
enableGraphviz ? true, graphviz,
|
||||
enableGhostscript ? true, ghostscript
|
||||
}:
|
||||
|
||||
let
|
||||
@ -14,6 +16,11 @@ in buildPythonApplication rec {
|
||||
buildInputs = [ intltool gtk3 gobjectIntrospection pango gnome3.gexiv2 ]
|
||||
# Map support
|
||||
++ stdenv.lib.optional enableOSM osm-gps-map
|
||||
# Graphviz support
|
||||
++ stdenv.lib.optional enableGraphviz graphviz
|
||||
# Ghostscript support
|
||||
++ stdenv.lib.optional enableGhostscript ghostscript
|
||||
|
||||
;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
Loading…
Reference in New Issue
Block a user