mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
Merge pull request #209770 from WhiteBlackGoose/litemdview
litemdview: init at 0.0.32
This commit is contained in:
commit
be1b54f68f
@ -16304,6 +16304,15 @@
|
||||
fingerprint = "69C9 876B 5797 1B2E 11C5 7C39 80A1 F76F C9F9 54AE";
|
||||
}];
|
||||
};
|
||||
WhiteBlackGoose = {
|
||||
email = "wbg@angouri.org";
|
||||
github = "WhiteBlackGoose";
|
||||
githubId = 31178401;
|
||||
name = "WhiteBlackGoose";
|
||||
keys = [{
|
||||
fingerprint = "640B EDDE 9734 310A BFA3 B257 52ED AE6A 3995 AFAB";
|
||||
}];
|
||||
};
|
||||
wuyoli = {
|
||||
name = "wuyoli";
|
||||
email = "wuyoli@tilde.team";
|
||||
|
59
pkgs/applications/graphics/litemdview/default.nix
Normal file
59
pkgs/applications/graphics/litemdview/default.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitea
|
||||
, gtkmm3
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "litemdview";
|
||||
# litemdview -v
|
||||
version = "0.0.32";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "notabug.org";
|
||||
owner = "g0tsu";
|
||||
repo = "litemdview";
|
||||
rev = "litemdview-0.0.32";
|
||||
hash = "sha256-XGjP+7i3mYCEzPYwVY+75DARdXJFY4vUWHFpPeoNqAE=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gtkmm3
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://notabug.org/g0tsu/litemdview";
|
||||
description = "A suckless markdown viewer";
|
||||
longDescription = ''
|
||||
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.
|
||||
|
||||
Features:
|
||||
|
||||
|
||||
- Does not use any of those bloated gecko(servo)-blink engines
|
||||
- Lightweight and fast
|
||||
- Live reload
|
||||
- Convinient key bindings
|
||||
- Supports text zooming
|
||||
- Supports images
|
||||
- Supports links
|
||||
- Navigation history
|
||||
- Cool name which associates with 1337, at least for me :)
|
||||
- Builtin markdown css themes
|
||||
- Supports emoji™️
|
||||
- vimwiki support
|
||||
- Basic html support (very simple offline documents in html)
|
||||
- Syntax highlighting
|
||||
'';
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ WhiteBlackGoose ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -32451,6 +32451,8 @@ with pkgs;
|
||||
|
||||
synology-cloud-sync-decryption-tool = callPackage ../applications/networking/synology-cloud-sync-decryption-tool { };
|
||||
|
||||
litemdview = callPackage ../applications/graphics/litemdview { };
|
||||
|
||||
maestral = with python3Packages; toPythonApplication maestral;
|
||||
|
||||
maestral-gui = libsForQt5.callPackage ../applications/networking/maestral-qt { };
|
||||
|
Loading…
Reference in New Issue
Block a user