···5 gtkmm3,
6 autoreconfHook,
7 pkg-config,
08}:
910-stdenv.mkDerivation {
11 pname = "litemdview";
12- # litemdview -v
13 version = "0.0.32";
1415 src = fetchFromGitea {
16- domain = "notabug.org";
17 owner = "g0tsu";
18 repo = "litemdview";
19- rev = "litemdview-0.0.32";
20 hash = "sha256-XGjP+7i3mYCEzPYwVY+75DARdXJFY4vUWHFpPeoNqAE=";
21 };
22···29 pkg-config
30 ];
3132- meta = with lib; {
33 # Required for build with gcc-14
34 env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int";
3536- homepage = "https://notabug.org/g0tsu/litemdview";
0000000037 description = "Suckless markdown viewer";
38 longDescription = ''
39 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.
···56 - Basic html support (very simple offline documents in html)
57 - Syntax highlighting
58 '';
59- license = licenses.gpl2Only;
60- maintainers = with maintainers; [ WhiteBlackGoose ];
61- platforms = platforms.linux;
62 mainProgram = "litemdview";
63 };
64-}
···5 gtkmm3,
6 autoreconfHook,
7 pkg-config,
8+ versionCheckHook,
9}:
1011+stdenv.mkDerivation (finalAttrs: {
12 pname = "litemdview";
013 version = "0.0.32";
1415 src = fetchFromGitea {
16+ domain = "codeberg.org";
17 owner = "g0tsu";
18 repo = "litemdview";
19+ rev = "litemdview-${finalAttrs.version}";
20 hash = "sha256-XGjP+7i3mYCEzPYwVY+75DARdXJFY4vUWHFpPeoNqAE=";
21 };
22···29 pkg-config
30 ];
31032 # Required for build with gcc-14
33 env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int";
3435+ enableParallelBuilding = true;
36+37+ nativeInstallCheckInputs = [
38+ versionCheckHook
39+ ];
40+ doInstallCheck = true;
41+42+ meta = {
43+ homepage = "https://codeberg.org/g0tsu/litemdview";
44 description = "Suckless markdown viewer";
45 longDescription = ''
46 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.
···63 - Basic html support (very simple offline documents in html)
64 - Syntax highlighting
65 '';
66+ license = lib.licenses.gpl2Plus;
67+ maintainers = with lib.maintainers; [ WhiteBlackGoose ];
68+ platforms = lib.platforms.linux;
69 mainProgram = "litemdview";
70 };
71+})