git.iko.soy/typeable/nixpkgs
on master help sign in
asciidoctor: simplify
commitaa018638582d77f0be503ad2a68ad42ead9d886a authorzimbatm <zimbatm@zimbatm.com> dateMon 3 Oct 2016, 22:27 (10 years ago) parent0f6e3a3
1 file changed+2−12
pkgs/tools/typesetting/asciidoctor/default.nix+2−12
pkgs/tools/typesetting/asciidoctor/default.nix+2−12
@@ -1,19 +1,9 @@
11{ stdenv, lib, bundlerEnv, ruby_2_2, curl }:
22
33bundlerEnv rec {
4− name = "asciidoctor-${version}";
5− version = "1.5.4";
6−
4+ pname = "asciidoctor";
75 ruby = ruby_2_2;
8− gemfile = ./Gemfile;
9− lockfile = ./Gemfile.lock;
10− gemset = ./gemset.nix;
11−
12− # Delete dependencies' executables
13− postBuild = ''
14− find $out/bin -type f -not -wholename '*bin/asciidoctor*' -print0 \
15− | xargs -0 rm
16− '';
6+ gemdir = ./.;
177
188 meta = with lib; {
199 description = "A faster Asciidoc processor written in Ruby";