docbook-xsl: Install dbtoepub
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user