2011-10-08 18:58:32 +02:00
|
|
|
{stdenv, fetchurl, python, pkgconfig, libxml2Python, libxslt, intltool, scrollkeeper,
|
2009-11-07 10:34:12 +01:00
|
|
|
makeWrapper}:
|
2009-09-30 07:27:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gnome-doc-utils-0.18.0";
|
|
|
|
src = fetchurl {
|
2009-09-30 08:35:09 +02:00
|
|
|
url = mirror://gnome/sources/gnome-doc-utils/0.18/gnome-doc-utils-0.18.0.tar.bz2;
|
2009-09-30 08:10:45 +02:00
|
|
|
sha256 = "1937zr088vn7vhy9rwfc021ih21hhf700c3m4ria8mlcpcvh1380";
|
2009-09-30 07:27:34 +02:00
|
|
|
};
|
|
|
|
configureFlags = "--disable-scrollkeeper";
|
2011-10-08 18:58:32 +02:00
|
|
|
buildInputs = [ python pkgconfig libxml2Python libxslt intltool scrollkeeper
|
2009-11-07 10:34:12 +01:00
|
|
|
makeWrapper ];
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/xml2po --prefix PYTHONPATH : $(toPythonPath $out) \
|
|
|
|
''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \
|
|
|
|
'';
|
2009-09-30 07:27:34 +02:00
|
|
|
}
|