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
Yury G. Kudryashov e60fe8673b gnome: use callPackage, move to gnome-2
gnome28 was a mix of packages from various releases, so do not mention 2.28 in
the attribute name.

svn path=/nixpkgs/trunk/; revision=29721
2011-10-08 16:58:32 +00:00

18 lines
647 B
Nix

{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} \
'';
}