2009-11-07 09:34:12 +00:00
|
|
|
{stdenv, fetchurl, python, pkgconfig, libxml2, libxslt, intltool, scrollkeeper,
|
|
|
|
makeWrapper}:
|
2009-09-30 06:27:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gnome-doc-utils-0.18.0";
|
|
|
|
src = fetchurl {
|
2009-09-30 07:35:09 +01:00
|
|
|
url = mirror://gnome/sources/gnome-doc-utils/0.18/gnome-doc-utils-0.18.0.tar.bz2;
|
2009-09-30 07:10:45 +01:00
|
|
|
sha256 = "1937zr088vn7vhy9rwfc021ih21hhf700c3m4ria8mlcpcvh1380";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
|
|
|
configureFlags = "--disable-scrollkeeper";
|
2009-11-07 09:34:12 +00: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 06:27:34 +01:00
|
|
|
}
|