docbook-xsl: Install dbtoepub

This commit is contained in:
Shea Levy 2017-06-03 09:37:36 -04:00
parent 0886c1b321
commit 4e32f5bda3

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, ruby }:
let
@ -10,6 +10,8 @@ let
inherit sha256;
};
buildInputs = [ ruby ];
dontBuild = true;
installPhase = ''
@ -21,6 +23,9 @@ let
# Backwards compatibility. Will remove eventually.
mkdir -p $out/xml/xsl
ln -s $dst $out/xml/xsl/docbook
ln -sv $dst/epub/bin $out
chmod +x $out/bin/dbtoepub
'';
meta = {