nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 = "44.1";
13
14 src = fetchurl {
15 url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
16 sha256 = "k/MpTUP9IvmWLM9r0X/2Tq54psoGP+bB6bxY0A8046g=";
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}