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. - `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 - The `earlyoom` service is now using upstream systemd service, which enables
hardening and filesystem isolation by default. If you need filesystem write hardening and filesystem isolation by default. If you need filesystem write
access or want to access home directory via `killHook`, hardening setting can access or want to access home directory via `killHook`, hardening setting can

View file

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