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
|
let
|
||||||
|
|
||||||
@ -10,6 +10,8 @@ let
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ruby ];
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -21,6 +23,9 @@ let
|
|||||||
# Backwards compatibility. Will remove eventually.
|
# Backwards compatibility. Will remove eventually.
|
||||||
mkdir -p $out/xml/xsl
|
mkdir -p $out/xml/xsl
|
||||||
ln -s $dst $out/xml/xsl/docbook
|
ln -s $dst $out/xml/xsl/docbook
|
||||||
|
|
||||||
|
ln -sv $dst/epub/bin $out
|
||||||
|
chmod +x $out/bin/dbtoepub
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user