nixpkgs/pkgs/desktops/gnome-2.28/desktop/gnome-doc-utils/default.nix

18 lines
635 B
Nix
Raw Normal View History

{stdenv, fetchurl, python, pkgconfig, libxml2, libxslt, intltool, scrollkeeper,
makeWrapper}:
stdenv.mkDerivation {
name = "gnome-doc-utils-0.18.0";
src = fetchurl {
url = mirror://gnome/sources/gnome-doc-utils/0.18/gnome-doc-utils-0.18.0.tar.bz2;
sha256 = "1937zr088vn7vhy9rwfc021ih21hhf700c3m4ria8mlcpcvh1380";
};
configureFlags = "--disable-scrollkeeper";
buildInputs = [ python pkgconfig libxml2 libxslt intltool scrollkeeper
makeWrapper ];
postInstall = ''
wrapProgram $out/bin/xml2po --prefix PYTHONPATH : $(toPythonPath $out) \
''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \
'';
}