2019-07-04 14:39:29 +03:00
|
|
|
{ lib, bundlerApp, mkShell, bundix, defaultGemConfig }:
|
2017-08-11 05:11:46 +03:00
|
|
|
|
2019-07-04 14:39:29 +03:00
|
|
|
let app = bundlerApp {
|
|
|
|
pname = "asciidoctor";
|
|
|
|
gemdir = ./.;
|
2016-05-01 17:05:22 +03:00
|
|
|
|
2019-07-04 14:39:29 +03:00
|
|
|
exes = [
|
|
|
|
"asciidoctor"
|
|
|
|
"asciidoctor-pdf"
|
|
|
|
"asciidoctor-safe"
|
|
|
|
];
|
2018-04-09 13:45:48 +03:00
|
|
|
|
2019-07-04 14:39:29 +03:00
|
|
|
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;
|
2018-04-09 13:45:48 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-07-04 14:39:29 +03:00
|
|
|
shell = mkShell {
|
|
|
|
buildInputs =
|
|
|
|
app.gems.mathematical.buildInputs ++
|
|
|
|
[ bundix ];
|
2016-05-01 17:05:22 +03:00
|
|
|
};
|
2019-07-04 14:39:29 +03:00
|
|
|
in app.overrideAttrs (attrs: { passthru = attrs.passthru // { updateShell = shell; }; })
|