docbook-xsl: Install dbtoepub
This commit is contained in:
parent
0886c1b321
commit
4e32f5bda3
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue