30 lines
904 B
Nix
30 lines
904 B
Nix
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
, webkitgtk, intltool, gsettings-desktop-schemas }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "devhelp-${version}";
|
|
version = "3.26.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/devhelp/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
sha256 = "10bd468ae2188abd98af9ba7b81aced337d2206e9d843eb44520be5b00d77d8e";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript { packageName = "devhelp"; attrPath = "gnome3.devhelp"; };
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
gtk3 wrapGAppsHook webkitgtk intltool gnome3.defaultIconTheme
|
|
gsettings-desktop-schemas
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://live.gnome.org/devhelp;
|
|
description = "API documentation browser for GNOME";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|