Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 055715822e66
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d674b9ef3cec
Choose a head ref
  • 4 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 16, 2019

  1. Copy the full SHA
    c43c6cb View commit details
  2. Copy the full SHA
    df4170f View commit details
  3. Copy the full SHA
    5366676 View commit details

Commits on Oct 28, 2019

  1. Merge pull request #71260 from worldofpeace/goa-meson

    gnome3.gnome-online-accounts: build with meson
    worldofpeace authored Oct 28, 2019
    Copy the full SHA
    d674b9e View commit details
Showing with 79 additions and 24 deletions.
  1. +79 −24 pkgs/development/libraries/gnome-online-accounts/default.nix
103 changes: 79 additions & 24 deletions pkgs/development/libraries/gnome-online-accounts/default.nix
Original file line number Diff line number Diff line change
@@ -1,42 +1,94 @@
{ 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
, fetchFromGitLab
, pkgconfig
, vala
, glib
, meson
, ninja
, python3
, libxslt
, gtk3
, webkitgtk
, json-glib
, librest
, libsecret
, gtk-doc
, gobject-introspection
, gettext
, icu
, glib-networking
, libsoup
, docbook_xsl
, docbook_xml_dtd_412
, gnome3
, gcr
, kerberos
, gvfs
, dbus
, wrapGAppsHook
}:

let
stdenv.mkDerivation rec {
pname = "gnome-online-accounts";
version = "3.34.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.34.1";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0mvz6wrw03zyp5sm46znkipncagb257xam29mfi06ixmxvjbqky4";
# https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/87
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "gnome-online-accounts";
rev = version;
sha256 = "0ry06qw068rqn4y42953kwl6fkxpgfya58y87cd3zink6gj7q0fm";
};

outputs = [ "out" "man" "dev" "devdoc" ];

configureFlags = [
"--enable-media-server"
"--enable-kerberos"
"--enable-lastfm"
"--enable-todoist"
"--enable-gtk-doc"
"--enable-documentation"
mesonFlags = [
"-Dfedora=false" # not useful in NixOS or for NixOS users.
"-Dgtk_doc=true"
"-Dlastfm=true"
"-Dman=true"
"-Dmedia_server=true"
];

enableParallelBuilding = true;

nativeBuildInputs = [
pkgconfig gobject-introspection vala gettext wrapGAppsHook
libxslt docbook_xsl docbook_xml_dtd_412 gtk-doc
dbus # used for checks and pkgconfig to install dbus service/s
docbook_xml_dtd_412
docbook_xsl
gettext
gobject-introspection
gtk-doc
libxslt
meson
ninja
pkgconfig
python3
vala
wrapGAppsHook
];

buildInputs = [
glib gtk3 webkitgtk json-glib librest libsecret glib-networking icu libsoup
gcr kerberos
gcr
glib
glib-networking
gtk3
gvfs # OwnCloud, Google Drive
icu
json-glib
kerberos
librest
libsecret
libsoup
webkitgtk
];

NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";

postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
@@ -45,7 +97,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;
};
}