diff --git a/pkgs/firefox-addons/default.nix b/pkgs/firefox-addons/default.nix index 4e7264d5..b84f8081 100644 --- a/pkgs/firefox-addons/default.nix +++ b/pkgs/firefox-addons/default.nix @@ -86,6 +86,28 @@ platforms = platforms.all; }; }; + "open-access-helper" = buildFirefoxXpiAddon { + pname = "open-access-helper"; + version = "2024.1"; + addonId = "info@oahelper.org"; + url = "https://addons.mozilla.org/firefox/downloads/file/4334632/open_access_helper-2024.1.xpi"; + sha256 = "9f0a4fd3f45fd5c863815971062c1b1d1207de20ffa79a0dbfdadaa86cab996c"; + meta = with lib; + { + homepage = "https://www.oahelper.org"; + description = "Effortless legal access to full text scholarly articles: \nOpen Access Helper will help you identify legal open access copies of academic articles, using unpaywall.org and core.ac.uk"; + mozPermissions = [ + "tabs" + "storage" + "contextMenus" + "http://*/*" + "https://*/*" + "*://*/*" + "https://www.oahelper.org/backend/institutes/" + ]; + platforms = platforms.all; + }; + }; "regretsreporter" = buildFirefoxXpiAddon { pname = "regretsreporter"; version = "2.1.2"; diff --git a/pkgs/firefox-addons/firefox-addons.json b/pkgs/firefox-addons/firefox-addons.json index 52d2db8b..6ce3b1c2 100644 --- a/pkgs/firefox-addons/firefox-addons.json +++ b/pkgs/firefox-addons/firefox-addons.json @@ -28,5 +28,8 @@ }, { "slug": "sourcegraph-for-firefox" + }, + { + "slug": "open-access-helper" } ]