diff --git a/pkgs/additional/firefox-extensions/default.nix b/pkgs/additional/firefox-extensions/default.nix index d52f487c4..268079db1 100644 --- a/pkgs/additional/firefox-extensions/default.nix +++ b/pkgs/additional/firefox-extensions/default.nix @@ -137,6 +137,7 @@ in (lib.makeScope newScope (self: with self; { firefox-xdg-open = callPackage ./firefox-xdg-open { }; i-still-dont-care-about-cookies = callPackage ./i-still-dont-care-about-cookies { }; open-in-mpv = callPackage ./open-in-mpv { }; + passff = callPackage ./passff { }; sidebery = callPackage ./sidebery { }; ether-metamask = fetchVersionedAddon rec { diff --git a/pkgs/additional/firefox-extensions/passff/default.nix b/pkgs/additional/firefox-extensions/passff/default.nix new file mode 100644 index 000000000..757ff82c8 --- /dev/null +++ b/pkgs/additional/firefox-extensions/passff/default.nix @@ -0,0 +1,32 @@ +{ + fetchFromGitea, + gitUpdater, + stdenv, + zip, +}: +stdenv.mkDerivation rec { + pname = "passff"; + version = "1.20.1"; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "PassFF"; + repo = "passff"; + rev = version; + hash = "sha256-3T7BLEeYYWsyD9gWh3OnrcyIKkOtQzjLf/IwMt8A1uw="; + }; + + nativeBuildInputs = [ zip ]; + + makeFlags = [ + "VERSION=${version}" + ]; + + installPhase = '' + runHook preInstall + install bin/$version/passff.xpi $out + runHook postInstall + ''; + + passthru.updateScript = gitUpdater { }; + passthru.extid = "passff@invicem.pro"; +}