nixpkgs/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix

27 lines
867 B
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, itstool, libxml2, intltool }:
stdenv.mkDerivation rec {
name = "gnome-user-docs-${version}";
version = "3.32.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-user-docs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-user-docs"; attrPath = "gnome3.gnome-user-docs"; };
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnome3.yelp itstool libxml2 intltool ];
meta = with stdenv.lib; {
homepage = https://help.gnome.org/users/gnome-help/;
description = "User and system administration help for the GNOME desktop";
maintainers = gnome3.maintainers;
license = licenses.cc-by-30;
platforms = platforms.linux;
};
}