mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
mdfried: init at 0.12.1 (#410180)
This commit is contained in:
commit
6e66c13922
2 changed files with 36 additions and 0 deletions
|
@ -3059,6 +3059,12 @@
|
|||
github = "benhiemer";
|
||||
githubId = 16649926;
|
||||
};
|
||||
benjajaja = {
|
||||
name = "Benjamin Große";
|
||||
email = "ste3ls@gmail.com";
|
||||
github = "benjajaja";
|
||||
githubId = 310215;
|
||||
};
|
||||
benjaminedwardwebb = {
|
||||
name = "Ben Webb";
|
||||
email = "benjaminedwardwebb@gmail.com";
|
||||
|
|
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