Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv
2, fetchurl
3, gettext
4, gnome
5, itstool
6, libxml2
7, yelp-tools
8}:
9
10stdenv.mkDerivation rec {
11 pname = "gnome-user-docs";
12 version = "43.0";
13
14 src = fetchurl {
15 url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
16 sha256 = "NgcWDv/W+R4lqHmLV977IJndcLj+5Ofi8g8mN6woyu4=";
17 };
18
19 nativeBuildInputs = [
20 gettext
21 itstool
22 libxml2
23 yelp-tools
24 ];
25
26 enableParallelBuilding = true;
27
28 passthru = {
29 updateScript = gnome.updateScript {
30 packageName = pname;
31 };
32 };
33
34 meta = with lib; {
35 description = "User and system administration help for the GNOME desktop";
36 homepage = "https://help.gnome.org/users/gnome-help/";
37 license = licenses.cc-by-30;
38 maintainers = teams.gnome.members;
39 platforms = platforms.all;
40 };
41}