mdfried: init at 0.12.1 (#410180)

This commit is contained in:
Aleksana 2025-05-24 21:27:35 +08:00 committed by GitHub
commit 6e66c13922
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 0 deletions

View file

@ -3059,6 +3059,12 @@
github = "benhiemer"; github = "benhiemer";
githubId = 16649926; githubId = 16649926;
}; };
benjajaja = {
name = "Benjamin Große";
email = "ste3ls@gmail.com";
github = "benjajaja";
githubId = 310215;
};
benjaminedwardwebb = { benjaminedwardwebb = {
name = "Ben Webb"; name = "Ben Webb";
email = "benjaminedwardwebb@gmail.com"; email = "benjaminedwardwebb@gmail.com";

View file

@ -0,0 +1,30 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mdfried";
version = "0.12.1";
src = fetchFromGitHub {
owner = "benjajaja";
repo = "mdfried";
tag = "v${finalAttrs.version}";
hash = "sha256-pSJexHOfGB8KGTpPrqw+dgymDXyux0uH6CDsZcnsHlE=";
};
cargoHash = "sha256-ZcWoYfvYmesi7JPOeSmIj0L9qlsoOYf6SMO0XQy6KwA=";
doCheck = true;
meta = {
description = "Markdown viewer TUI for the terminal, with big text and image rendering";
homepage = "https://github.com/benjajaja/mdfried";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ benjajaja ];
platforms = lib.platforms.unix;
mainProgram = "mdfried";
};
})