kramdown-asciidoc: init at 1.0.1

This commit is contained in:
adisbladis 2020-01-23 18:52:10 +00:00
parent b8cf3411d9
commit 3b606fefb5
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7
5 changed files with 80 additions and 1 deletions

View File

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'kramdown-asciidoc'

View File

@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
kramdown (1.17.0)
kramdown-asciidoc (1.0.1)
kramdown (~> 1.17.0)
PLATFORMS
ruby
DEPENDENCIES
kramdown-asciidoc
BUNDLED WITH
1.17.3

View File

@ -0,0 +1,37 @@
{ lib, bundlerApp, makeWrapper,
# Optional dependencies, can be null
epubcheck, kindlegen,
bundlerUpdateScript
}:
let
app = bundlerApp {
pname = "kramdown-asciidoc";
gemdir = ./.;
exes = [
"kramdoc"
];
# buildInputs = [ makeWrapper ];
# postBuild = ''
# wrapProgram "$out/bin/asciidoctor-epub3" \
# ${lib.optionalString (epubcheck != null) "--set EPUBCHECK ${epubcheck}/bin/epubcheck"} \
# ${lib.optionalString (kindlegen != null) "--set KINDLEGEN ${kindlegen}/bin/kindlegen"}
# '';
# passthru = {
# updateScript = bundlerUpdateScript "kramdown-asciidoc";
# };
meta = with lib; {
description = "A kramdown extension for converting Markdown documents to AsciiDoc.";
homepage = https://asciidoctor.org/;
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
};
in
app

View File

@ -0,0 +1,23 @@
{
kramdown = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq";
type = "gem";
};
version = "1.17.0";
};
kramdown-asciidoc = {
dependencies = ["kramdown"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1nr4hss1byhchwkqy2w0dgc7s83n0s5xm0pjms2cmckc4sbrryxi";
type = "gem";
};
version = "1.0.1";
};
}

View File

@ -2964,6 +2964,8 @@ in
ssh = openssh;
};
kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { };
mcrcon = callPackage ../tools/networking/mcrcon {};
rage = callPackage ../tools/security/rage {
@ -7591,7 +7593,7 @@ in
zpaqd = callPackage ../tools/archivers/zpaq/zpaqd.nix { };
zsh-autoenv = callPackage ../tools/misc/zsh-autoenv { };
zsh-bd = callPackage ../shells/zsh/zsh-bd { };
zsh-git-prompt = callPackage ../shells/zsh/zsh-git-prompt { };