anchor.diff:      platforms = platforms.linux;
       maintainers = teams.pantheon.members;
     };
  -
   }
  
positive.code: { lib, stdenv
  , fetchFromGitHub
  , nix-update-script
  , pantheon
  , meson
  , ninja
  , pkg-config
  , vala
  , libgee
  , granite
  , gtk3
  , libaccounts-glib
  , libgdata
  , libhandy
  , libsignon-glib
  , json-glib
  , librest
  , webkitgtk
  , libsoup
  , sqlite
  , switchboard
  , evolution-data-server
  }:
  
  stdenv.mkDerivation rec {
    pname = "switchboard-plug-onlineaccounts";
    version = "6.2.1";
  
    src = fetchFromGitHub {
      owner = "elementary";
      repo = pname;
      rev = version;
      sha256 = "1q3f7zr04p2100mb255zy38il2i47l6vqdc9a9acjbk3n7q5sf92";
    };
  
    passthru = {
      updateScript = nix-update-script {
        attrPath = "pantheon.${pname}";
      };
    };
  
    nativeBuildInputs = [
  
negative.code: 
    buildInputs = [
      evolution-data-server
      glib
      granite
      gtk3
      libgdata
      libhandy
      sqlite # needed for camel-1.2
      switchboard
    ];
  
    passthru = {
      updateScript = nix-update-script {
        attrPath = "pantheon.${pname}";
      };
    };
  
    meta = with lib; {
      description = "Switchboard Online Accounts Plug";
  