2007-11-01 15:37:23 +01:00
|
|
|
{stdenv, fetchurl, python, libxslt, tetex}:
|
|
|
|
|
2009-05-07 15:18:35 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dblatex-0.2.8";
|
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";
|
|
|
|
sha256 = "00slxwd1z9sajpxjvrqqgl3fnf9hwh17shg66pg2k2mnbgagxyr0";
|
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";
|
|
|
|
};
|
|
|
|
}
|