mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
mdfried: init at 0.12.1
Co-authored-by: Aleksana <alexander.huang.y@gmail.com> Co-authored-by: Acid Bong <acidbong@tilde.club>
This commit is contained in:
parent
6c20afc263
commit
e0d3828e91
1 changed files with 30 additions and 0 deletions
30
pkgs/by-name/md/mdfried/package.nix
Normal file
30
pkgs/by-name/md/mdfried/package.nix
Normal 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";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue