passff: init at 1.20.1
This commit is contained in:
@@ -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 {
|
||||
|
32
pkgs/additional/firefox-extensions/passff/default.nix
Normal file
32
pkgs/additional/firefox-extensions/passff/default.nix
Normal file
@@ -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";
|
||||
}
|
Reference in New Issue
Block a user