-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221364 from icewind1991/to-html-0.1.3
to-html: init at 0.1.4
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters