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