mepo: 1.2.1 -> 1.3.3

This commit is contained in:
Nguyễn Gia Phong 2024-08-09 13:25:31 +09:00 committed by Emery Hemingway
parent 9f7331a682
commit bdc95d5afb
2 changed files with 18 additions and 12 deletions

View file

@ -230,6 +230,12 @@
- `zammad` has had its support for MySQL removed, since it was never working correctly and is now deprecated upstream. Check the [migration guide](https://docs.zammad.org/en/latest/appendix/migrate-to-postgresql.html) for how to convert your database to PostgreSQL.
- `mepo` was updated to version 1.3.3. The manual page was removed,
a new JSON API was introduced to replace Mepolang for configuration,
and a few default key bindings were changed.
See the [1.3.0 changelog](https://git.sr.ht/~mil/mepo/refs/1.3.0)
for more details.
- The `earlyoom` service is now using upstream systemd service, which enables
hardening and filesystem isolation by default. If you need filesystem write
access or want to access home directory via `killHook`, hardening setting can

View file

@ -8,33 +8,33 @@
SDL2_ttf,
busybox,
curl,
findutils,
geoclue2-with-demo-agent,
gpsd,
jq,
makeWrapper,
mobroute,
ncurses,
pkg-config,
util-linux,
xwininfo,
zenity,
zig_0_12,
zig_0_13,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mepo";
version = "1.2.1";
version = "1.3.3";
src = fetchFromSourcehut {
owner = "~mil";
repo = "mepo";
rev = finalAttrs.version;
hash = "sha256-Ii5E9TgUxzlVIdkKS/6RtasOETeclMm1yoU86gs4hB8=";
hash = "sha256-hEsQpTrj2WCoRgNWdhcUnQRzhI/6BydcbG9kRePstgg=";
};
nativeBuildInputs = [
pkg-config
zig_0_12.hook
zig_0_13.hook
makeWrapper
];
@ -51,8 +51,8 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
postInstall = ''
install -d $out/share/man/man1
$out/bin/mepo -docman > $out/share/man/man1/mepo.1
install -d $out/share/doc/mepo
$out/bin/mepo -docmd > $out/share/doc/mepo/documentation.md
'';
postFixup = ''
@ -67,9 +67,9 @@ stdenv.mkDerivation (finalAttrs: {
lib.makeBinPath ([
busybox
curl
findutils
gpsd
jq
mobroute
ncurses
util-linux
xwininfo
@ -80,7 +80,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
meta = {
homepage = "https://mepo.milesalan.com";
homepage = "https://mepo.lrdu.org";
description = "Fast, simple, and hackable OSM map viewer";
longDescription = ''
Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile
@ -90,9 +90,9 @@ stdenv.mkDerivation (finalAttrs: {
desktop X, and desktop Wayland. Mepo works both offline and online,
features a minimalist both touch/mouse and keyboard compatible interface,
and offers a UNIX-philosophy inspired underlying design, exposing a
powerful command language called Mepolang capable of being scripted to
provide things like custom bounding-box search scripts, bookmarks, and
more.
powerful JSON API to allow the user to change & add functionality
such as adding their own search & routing scripts,
add arbitrary buttons/keybindings to the UI, and more.
'';
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [