nixpkgs/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
Jan Tojnar 5cc18c4781
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
2018-10-05 02:17:19 +02:00

26 lines
867 B
Nix

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