nixpkgs/pkgs/tools/typesetting/asciidoctor/default.nix

28 lines
671 B
Nix
Raw Normal View History

{ lib, bundlerApp, mkShell, bundix, defaultGemConfig }:
2017-08-11 05:11:46 +03:00
let app = bundlerApp {
pname = "asciidoctor";
gemdir = ./.;
2016-05-01 17:05:22 +03:00
exes = [
"asciidoctor"
"asciidoctor-pdf"
"asciidoctor-safe"
];
meta = with lib; {
description = "A faster Asciidoc processor written in Ruby";
homepage = https://asciidoctor.org/;
license = licenses.mit;
maintainers = with maintainers; [ gpyh ];
platforms = platforms.unix;
};
};
shell = mkShell {
buildInputs =
app.gems.mathematical.buildInputs ++
[ bundix ];
2016-05-01 17:05:22 +03:00
};
in app.overrideAttrs (attrs: { passthru = attrs.passthru // { updateShell = shell; }; })