nixpkgs/pkgs/applications/networking/mailreaders/mailnag/goa-plugin.nix
Doron Behar 7ff82bfee6 mailnag: enable to configure plugins
Add an availablePlugins attrset with all plugins available.
Make mailnag's expression accept a "plugins" argument specifying plugins
to install, from `availablePlugins`.
Prevent double wrapping (nor related to plugins).
Install plugins using xorg.lndir.
2020-08-15 10:17:06 -07:00

31 lines
716 B
Nix

{ stdenv
, fetchFromGitHub
, python3Packages
, gobject-introspection
, gnome-online-accounts
}:
python3Packages.buildPythonPackage rec {
pname = "mailnag-goa-plugin";
version = "2.0.0";
src = fetchFromGitHub {
owner = "pulb";
repo = "mailnag-goa-plugin";
rev = "v${version}";
sha256 = "0bij6cy96nhq7xzslx0fnhmiac629h0x4wgy67k4i4npwqw10680";
};
buildInputs = [
gobject-introspection
gnome-online-accounts
];
meta = with stdenv.lib; {
description = "Mailnag GNOME Online Accounts plugin.";
homepage = "https://github.com/pulb/mailnag-goa-plugin";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ doronbehar ];
};
}