nixpkgs/pkgs/data/documentation/gnome-user-docs/default.nix

42 lines
840 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, gettext
, gnome3
, itstool
, libxml2
, yelp-tools
}:
stdenv.mkDerivation rec {
pname = "gnome-user-docs";
2021-03-21 07:26:52 +01:00
version = "40.1";
src = fetchurl {
2021-03-21 07:26:52 +01:00
url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "09ld9r29nz64s04fmp3b2wwldmfnwxp4w36dkh7mbz5pdd3z7fwk";
};
nativeBuildInputs = [
gettext
itstool
libxml2
yelp-tools
];
enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with lib; {
description = "User and system administration help for the GNOME desktop";
homepage = "https://help.gnome.org/users/gnome-help/";
license = licenses.cc-by-30;
maintainers = teams.gnome.members;
platforms = platforms.all;
};
}