1 { lib, fetchurl, pkg-config, libxml2, libxslt, intltool, gnome
2 , python3Packages, fetchpatch, bash }:
4 python3Packages.buildPythonApplication rec {
5 pname = "gnome-doc-utils";
11 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12 sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb";
16 # https://bugzilla.redhat.com/show_bug.cgi?id=438638
18 url = "https://src.fedoraproject.org/rpms/gnome-doc-utils/raw/6b8908abe5af61a952db7174c5d1843708d61f1b/f/gnome-doc-utils-0.14.0-package.patch";
19 sha256 = "sha256-V2L2/30NoHY/wj3+dsombxveWRSUJb2YByOKtEgVx/0=";
23 url = "https://src.fedoraproject.org/rpms/gnome-doc-utils/raw/6b8908abe5af61a952db7174c5d1843708d61f1b/f/gnome-doc-utils-0.20.10-python3.patch";
24 sha256 = "sha256-niH/Yx5H44rsRgkCZS8LWLFB9ZvuInt75zugzoVUhH0=";
28 nativeBuildInputs = [ intltool pkg-config libxslt.dev ];
29 buildInputs = [ libxml2 libxslt bash ];
30 propagatedBuildInputs = [ python3Packages.libxml2 ];
32 configureFlags = [ "--disable-scrollkeeper" ];
35 updateScript = gnome.updateScript {
41 description = "Collection of documentation utilities for the GNOME project";
42 homepage = "https://gitlab.gnome.org/GNOME/gnome-doc-utils";
43 license = with licenses; [ gpl2Plus lgpl2Plus ];
44 platforms = platforms.all;