···11+{ lib
22+, stdenv
33+, fetchFromGitea
44+, gtkmm3
55+, autoreconfHook
66+, pkg-config
77+}:
88+99+stdenv.mkDerivation rec {
1010+ pname = "litemdview";
1111+ # litemdview -v
1212+ version = "0.0.32";
1313+1414+ src = fetchFromGitea {
1515+ domain = "notabug.org";
1616+ owner = "g0tsu";
1717+ repo = "litemdview";
1818+ rev = "litemdview-0.0.32";
1919+ hash = "sha256-XGjP+7i3mYCEzPYwVY+75DARdXJFY4vUWHFpPeoNqAE=";
2020+ };
2121+2222+ buildInputs = [
2323+ gtkmm3
2424+ ];
2525+2626+ nativeBuildInputs = [
2727+ autoreconfHook
2828+ pkg-config
2929+ ];
3030+3131+ meta = with lib; {
3232+ homepage = "https://notabug.org/g0tsu/litemdview";
3333+ description = "A suckless markdown viewer";
3434+ longDescription = ''
3535+ LiteMDview is a lightweight, extremely fast markdown viewer with lots of useful features. One of them is ability to use your prefered text editor to edit markdown files, every time you save the file, litemdview reloads those changes (I call it live-reload). It has a convinient navigation through local directories, has support for a basic "git-like" folders hierarchy as well as vimwiki projects.
3636+3737+ Features:
3838+3939+4040+ - Does not use any of those bloated gecko(servo)-blink engines
4141+ - Lightweight and fast
4242+ - Live reload
4343+ - Convinient key bindings
4444+ - Supports text zooming
4545+ - Supports images
4646+ - Supports links
4747+ - Navigation history
4848+ - Cool name which associates with 1337, at least for me :)
4949+ - Builtin markdown css themes
5050+ - Supports emoji™️
5151+ - vimwiki support
5252+ - Basic html support (very simple offline documents in html)
5353+ - Syntax highlighting
5454+ '';
5555+ license = licenses.gpl2Only;
5656+ maintainers = with maintainers; [ WhiteBlackGoose ];
5757+ platforms = platforms.linux;
5858+ };
5959+}