2009-11-07 10:34:12 +01:00
|
|
|
{stdenv, fetchurl, python, pkgconfig, libxml2, libxslt, intltool, scrollkeeper,
|
|
|
|
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";
|
2009-11-07 10:34:12 +01:00
|
|
|
buildInputs = [ python pkgconfig libxml2 libxslt intltool scrollkeeper
|
|
|
|
makeWrapper ];
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/xml2po --prefix PYTHONPATH : $(toPythonPath $out) \
|
|
|
|
''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \
|
|
|
|
'';
|
2009-09-30 07:27:34 +02:00
|
|
|
}
|