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