summary refs log tree commit diff
path: root/pkgs/development/libraries/gnome-online-accounts
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-10-16 16:27:43 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-16 16:27:43 -0400
commitdf4170f85347836b38fdb1315dde6c5bf63f8cfb (patch)
treef1893273dccd9524614652885aff98fd613cf2da /pkgs/development/libraries/gnome-online-accounts
parentc43c6cbabf85908dc97c802fdad4657849157793 (diff)
downloadnixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.tar
nixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.tar.gz
nixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.tar.bz2
nixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.tar.lz
nixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.tar.xz
nixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.tar.zst
nixpkgs-df4170f85347836b38fdb1315dde6c5bf63f8cfb.zip
gnome-online-accounts: format, meta attributes
Diffstat (limited to 'pkgs/development/libraries/gnome-online-accounts')
-rw-r--r--pkgs/development/libraries/gnome-online-accounts/default.nix61
1 files changed, 48 insertions, 13 deletions
diff --git a/pkgs/development/libraries/gnome-online-accounts/default.nix b/pkgs/development/libraries/gnome-online-accounts/default.nix
index 387a00876ed..bef4fbfe73d 100644
--- a/pkgs/development/libraries/gnome-online-accounts/default.nix
+++ b/pkgs/development/libraries/gnome-online-accounts/default.nix
@@ -1,14 +1,31 @@
-{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk3, wrapGAppsHook
-, webkitgtk, json-glib, librest, libsecret, gtk-doc, gobject-introspection
-, gettext, icu, glib-networking
-, libsoup, docbook_xsl, docbook_xml_dtd_412, gnome3, gcr, kerberos
+{ stdenv
+, fetchurl
+, pkgconfig
+, vala
+, glib
+, libxslt
+, gtk3
+, wrapGAppsHook
+, webkitgtk
+, json-glib
+, librest
+, libsecret
+, gtk-doc
+, gobject-introspection
+, gettext
+, icu
+, glib-networking
+, libsoup
+, docbook_xsl
+, docbook_xml_dtd_412
+, gnome3
+, gcr
+, kerberos
 }:
 
-let
+stdenv.mkDerivation rec {
   pname = "gnome-online-accounts";
   version = "3.34.1";
-in stdenv.mkDerivation rec {
-  name = "${pname}-${version}";
 
   src = fetchurl {
     url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
@@ -26,15 +43,30 @@ in stdenv.mkDerivation rec {
     "--enable-documentation"
   ];
 
-  enableParallelBuilding = true;
-
   nativeBuildInputs = [
-    pkgconfig gobject-introspection vala gettext wrapGAppsHook
-    libxslt docbook_xsl docbook_xml_dtd_412 gtk-doc
+    docbook_xml_dtd_412
+    docbook_xsl
+    gettext
+    gobject-introspection
+    gtk-doc
+    libxslt
+    pkgconfig
+    vala
+    wrapGAppsHook
   ];
+
   buildInputs = [
-    glib gtk3 webkitgtk json-glib librest libsecret glib-networking icu libsoup
-    gcr kerberos
+    gcr
+    glib
+    glib-networking
+    gtk3
+    icu
+    json-glib
+    kerberos
+    librest
+    libsecret
+    libsoup
+    webkitgtk
   ];
 
   passthru = {
@@ -45,7 +77,10 @@ in stdenv.mkDerivation rec {
   };
 
   meta = with stdenv.lib; {
+    homepage = "https://wiki.gnome.org/Projects/GnomeOnlineAccounts";
+    description = "Single sign-on framework for GNOME";
     platforms = platforms.linux;
+    license = licenses.lgpl2Plus;
     maintainers = gnome3.maintainers;
   };
 }