3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/devtools/devhelp/default.nix

35 lines
1,014 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
2018-03-15 12:26:13 +00:00
, glib, appstream-glib, gobjectIntrospection
, webkitgtk, gettext, itstool, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
name = "devhelp-${version}";
2018-03-13 01:03:18 +00:00
version = "3.28.0";
src = fetchurl {
url = "mirror://gnome/sources/devhelp/${gnome3.versionBranch version}/${name}.tar.xz";
2018-03-13 01:03:18 +00:00
sha256 = "1b4l71775p3mps1jsv7pz26v0lhd0qczsp6qr1dwv7hyslmpb5qn";
};
2018-03-15 12:26:13 +00:00
nativeBuildInputs = [ pkgconfig gettext itstool wrapGAppsHook appstream-glib gobjectIntrospection ];
buildInputs = [
2018-03-15 12:26:13 +00:00
glib gtk3 webkitgtk
gnome3.defaultIconTheme gsettings-desktop-schemas
];
2018-03-15 12:26:13 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "devhelp";
attrPath = "gnome3.devhelp";
};
};
meta = with stdenv.lib; {
description = "API documentation browser for GNOME";
2018-03-15 12:26:13 +00:00
homepage = https://wiki.gnome.org/Apps/Devhelp;
license = licenses.gpl2;
2018-03-15 12:26:13 +00:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}