gnome3.devhelp: clean up

* Format with nixpkgs-format
* Quote URL
* Fix license
This commit is contained in:
Jan Tojnar 2019-11-04 18:19:23 +01:00
parent 7827d3f449
commit 1a3f284b9c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,6 +1,21 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gnome3, gtk3, wrapGAppsHook { stdenv
, glib, amtk, appstream-glib, gobject-introspection, python3 , fetchurl
, webkitgtk, gettext, itstool, gsettings-desktop-schemas }: , meson
, ninja
, pkgconfig
, gnome3
, gtk3
, wrapGAppsHook
, glib
, amtk
, appstream-glib
, gobject-introspection
, python3
, webkitgtk
, gettext
, itstool
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "devhelp"; pname = "devhelp";
@ -11,10 +26,25 @@ stdenv.mkDerivation rec {
sha256 = "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"; sha256 = "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg";
}; };
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook appstream-glib gobject-introspection python3 ]; nativeBuildInputs = [
meson
ninja
pkgconfig
gettext
itstool
wrapGAppsHook
appstream-glib
gobject-introspection
python3
];
buildInputs = [ buildInputs = [
glib gtk3 webkitgtk amtk glib
gnome3.adwaita-icon-theme gsettings-desktop-schemas gtk3
webkitgtk
amtk
gnome3.adwaita-icon-theme
gsettings-desktop-schemas
]; ];
doCheck = true; doCheck = true;
@ -33,8 +63,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "API documentation browser for GNOME"; description = "API documentation browser for GNOME";
homepage = https://wiki.gnome.org/Apps/Devhelp; homepage = "https://wiki.gnome.org/Apps/Devhelp";
license = licenses.gpl2; license = licenses.gpl3Plus;
maintainers = gnome3.maintainers; maintainers = gnome3.maintainers;
platforms = platforms.linux; platforms = platforms.linux;
}; };