asciidoctor: simplify

This commit is contained in:
zimbatm 2016-10-03 22:27:15 +01:00
parent 0f6e3a3cde
commit aa01863858

View File

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