1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix

18 lines
647 B
Nix
Raw Normal View History

{stdenv, fetchurl, python, pkgconfig, libxml2Python, 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 libxml2Python libxslt intltool scrollkeeper
makeWrapper ];
postInstall = ''
wrapProgram $out/bin/xml2po --prefix PYTHONPATH : $(toPythonPath $out) \
''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \
'';
}