forked from mirrors/nixpkgs
7ff82bfee6
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.
32 lines
716 B
Nix
32 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 ];
|
|
};
|
|
}
|