10 gobject-introspection,
18 python3Packages.buildPythonApplication rec {
19 pname = "letterpress";
22 src = fetchFromGitLab {
23 domain = "gitlab.gnome.org";
27 hash = "sha256-9U8iH3V4WMljdtWLmb0RlexLeAN5StJ0c9RlEB2E7Xs=";
31 # Fix application segmentation fault on file chooser dialog opening
32 # https://gitlab.gnome.org/World/Letterpress/-/merge_requests/16
34 url = "https://gitlab.gnome.org/World/Letterpress/-/commit/15059eacca14204d1092a6e32ef30c6ce4df6d36.patch";
35 hash = "sha256-pjg/O9advtkZ0l73GQtL/GYcTWeOs5l3VGOdnsZCWI0=";
59 dependencies = with python3Packages; [
64 pyproject = false; # built by meson
65 dontWrapGApps = true; # prevent double wrapping
68 makeWrapperArgs+=(''${gappsWrapperArgs[@]} --prefix PATH : ${ lib.makeBinPath runtimeDeps })
72 description = "Create beautiful ASCII art";
74 Letterpress converts your images into a picture made up of ASCII characters.
75 You can save the output to a file, copy it, and even change its resolution!
76 High-res output can still be viewed comfortably by lowering the zoom factor.
78 homepage = "https://apps.gnome.org/Letterpress/";
79 license = licenses.gpl3Plus;
80 maintainers = [ maintainers.dawidd6 ];
81 platforms = platforms.linux;
82 mainProgram = "letterpress";