mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #221364 from icewind1991/to-html-0.1.3
to-html: init at 0.1.4
This commit is contained in:
commit
5fab052af4
30
pkgs/tools/text/to-html/default.nix
Normal file
30
pkgs/tools/text/to-html/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
version = "0.1.4";
|
||||
pname = "to-html";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Aloso";
|
||||
repo = "to-html";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zkTBjsMFhRz7lVRh8i+XkaJ/qWmTAMPnkH5aDhbHf8U=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-hXc+lB3DKnRZkp1U5wW/vPKSZ0c1UknQCAxDfE7Eubg=";
|
||||
|
||||
# Requires external resources
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Terminal wrapper for rendering a terminal on a website by converting ANSI escape sequences to HTML.";
|
||||
homepage = "https://github.com/Aloso/to-html";
|
||||
changelog = "https://github.com/Aloso/to-html/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ icewind1991 ];
|
||||
};
|
||||
}
|
@ -13591,6 +13591,8 @@ with pkgs;
|
||||
|
||||
tncattach = callPackage ../applications/radio/tncattach { };
|
||||
|
||||
to-html = callPackage ../tools/text/to-html { };
|
||||
|
||||
toilet = callPackage ../tools/misc/toilet { };
|
||||
|
||||
tokei = callPackage ../development/tools/misc/tokei {
|
||||
|
Loading…
Reference in New Issue
Block a user