2007-11-01 14:37:23 +00:00
|
|
|
{stdenv, fetchurl, python, libxslt, tetex}:
|
|
|
|
|
2009-05-07 14:18:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-08-23 00:11:12 +01:00
|
|
|
name = "dblatex-0.2.12";
|
2009-07-10 13:09:58 +01:00
|
|
|
|
2007-11-01 14:37:23 +00:00
|
|
|
src = fetchurl {
|
2009-05-07 14:18:35 +01:00
|
|
|
url = "mirror://sourceforge/dblatex/${name}.tar.bz2";
|
2009-08-23 00:11:12 +01:00
|
|
|
sha256 = "1wjghrlcn7hkr70nnyzzag1z57l5b1ck8i3r8zl7bw2rsrvqmyz2";
|
2007-11-01 14:37:23 +00: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";
|
|
|
|
};
|
|
|
|
}
|