asciidoctor: simplify
This commit is contained in:
parent
0f6e3a3cde
commit
aa01863858
@ -1,19 +1,9 @@
|
|||||||
{ stdenv, lib, bundlerEnv, ruby_2_2, curl }:
|
{ stdenv, lib, bundlerEnv, ruby_2_2, curl }:
|
||||||
|
|
||||||
bundlerEnv rec {
|
bundlerEnv rec {
|
||||||
name = "asciidoctor-${version}";
|
pname = "asciidoctor";
|
||||||
version = "1.5.4";
|
|
||||||
|
|
||||||
ruby = ruby_2_2;
|
ruby = ruby_2_2;
|
||||||
gemfile = ./Gemfile;
|
gemdir = ./.;
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
|
|
||||||
# Delete dependencies' executables
|
|
||||||
postBuild = ''
|
|
||||||
find $out/bin -type f -not -wholename '*bin/asciidoctor*' -print0 \
|
|
||||||
| xargs -0 rm
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A faster Asciidoc processor written in Ruby";
|
description = "A faster Asciidoc processor written in Ruby";
|
||||||
|
Loading…
Reference in New Issue
Block a user