nixpkgs/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
869 B
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, itstool, libxml2, intltool }:
stdenv.mkDerivation rec {
pname = "gnome-user-docs";
version = "3.32.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-user-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.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;
};
}