11 , geoclue2-with-demo-agent
23 stdenv.mkDerivation (finalAttrs: {
27 src = fetchFromSourcehut {
30 rev = finalAttrs.version;
31 hash = "sha256-Ii5E9TgUxzlVIdkKS/6RtasOETeclMm1yoU86gs4hB8=";
53 install -d $out/share/man/man1
54 $out/bin/mepo -docman > $out/share/man/man1/mepo.1
58 substituteInPlace $out/bin/mepo_ui_menu_user_pin_updater.sh \
59 --replace-fail /usr/libexec/geoclue-2.0 ${geoclue2-with-demo-agent}/libexec/geoclue-2.0
60 substituteInPlace $out/bin/mepo_ui_central_menu.sh \
61 --replace-fail "grep mepo_" "grep '^\.mepo_\|^mepo_'" \
62 --replace-fail " ls " " ls -a " #circumvent wrapping for script detection
63 for program in $out/bin/* ; do
64 wrapProgram $program \
65 --suffix PATH : $out/bin:${lib.makeBinPath ([
80 homepage = "https://mepo.milesalan.com";
81 description = "Fast, simple, and hackable OSM map viewer";
83 Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile
84 Linux devices (like the PinePhone, Librem 5, postmarketOS devices etc.)
85 and both environment's various user interfaces (Wayland & X
86 inclusive). Environments supported include Phosh, Sxmo, Plasma Mobile,
87 desktop X, and desktop Wayland. Mepo works both offline and online,
88 features a minimalist both touch/mouse and keyboard compatible interface,
89 and offers a UNIX-philosophy inspired underlying design, exposing a
90 powerful command language called Mepolang capable of being scripted to
91 provide things like custom bounding-box search scripts, bookmarks, and
94 license = lib.licenses.gpl3Plus;
95 maintainers = with lib.maintainers; [ sikmir McSinyx laalsaas ];
96 platforms = lib.platforms.linux;