kramdown-asciidoc: init at 1.0.1
This commit is contained in:
parent
b8cf3411d9
commit
3b606fefb5
2
pkgs/tools/typesetting/kramdown-asciidoc/Gemfile
Normal file
2
pkgs/tools/typesetting/kramdown-asciidoc/Gemfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
source 'https://rubygems.org'
|
||||||
|
gem 'kramdown-asciidoc'
|
15
pkgs/tools/typesetting/kramdown-asciidoc/Gemfile.lock
Normal file
15
pkgs/tools/typesetting/kramdown-asciidoc/Gemfile.lock
Normal 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
|
37
pkgs/tools/typesetting/kramdown-asciidoc/default.nix
Normal file
37
pkgs/tools/typesetting/kramdown-asciidoc/default.nix
Normal 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
|
23
pkgs/tools/typesetting/kramdown-asciidoc/gemset.nix
Normal file
23
pkgs/tools/typesetting/kramdown-asciidoc/gemset.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -2964,6 +2964,8 @@ in
|
|||||||
ssh = openssh;
|
ssh = openssh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { };
|
||||||
|
|
||||||
mcrcon = callPackage ../tools/networking/mcrcon {};
|
mcrcon = callPackage ../tools/networking/mcrcon {};
|
||||||
|
|
||||||
rage = callPackage ../tools/security/rage {
|
rage = callPackage ../tools/security/rage {
|
||||||
|
Loading…
Reference in New Issue
Block a user