2007-11-01 15:37:23 +01:00
|
|
|
{stdenv, fetchurl, python, libxslt, tetex}:
|
|
|
|
|
2009-05-07 15:18:35 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2009-07-08 15:12:27 +02:00
|
|
|
name = "dblatex-0.2.11";
|
2009-07-10 14:09:58 +02:00
|
|
|
|
2007-11-01 15:37:23 +01:00
|
|
|
src = fetchurl {
|
2009-05-07 15:18:35 +02:00
|
|
|
url = "mirror://sourceforge/dblatex/${name}.tar.bz2";
|
2009-07-08 15:12:27 +02:00
|
|
|
sha256 = "cc1bd2c1aca5f6d03ef8516437321f75eba604d2067efe65f2d07815f56f7205";
|
2007-11-01 15:37:23 +01:00
|
|
|
};
|
|
|
|
|
2009-07-10 14:09:58 +02:00
|
|
|
patches =
|
|
|
|
[ # Fix xrefs and callouts that refer to xml:ids (rather than ids).
|
|
|
|
./xmlid.patch
|
|
|
|
];
|
|
|
|
|
2007-11-01 15:37:23 +01:00
|
|
|
buildPhase = "true";
|
|
|
|
|
|
|
|
installPhase = "
|
|
|
|
python ./setup.py install --prefix=$out
|
|
|
|
";
|
|
|
|
|
|
|
|
buildInputs = [python libxslt tetex];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A program to convert DocBook to DVI, PostScript or PDF via LaTeX or ConTeXt";
|
|
|
|
homepage = http://dblatex.sourceforge.net/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|