passff: init at 1.20.1

This commit is contained in:
2024-10-02 15:28:31 +00:00
parent ceb0d02efe
commit 78346cccaf
2 changed files with 33 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ in (lib.makeScope newScope (self: with self; {
firefox-xdg-open = callPackage ./firefox-xdg-open { }; firefox-xdg-open = callPackage ./firefox-xdg-open { };
i-still-dont-care-about-cookies = callPackage ./i-still-dont-care-about-cookies { }; i-still-dont-care-about-cookies = callPackage ./i-still-dont-care-about-cookies { };
open-in-mpv = callPackage ./open-in-mpv { }; open-in-mpv = callPackage ./open-in-mpv { };
passff = callPackage ./passff { };
sidebery = callPackage ./sidebery { }; sidebery = callPackage ./sidebery { };
ether-metamask = fetchVersionedAddon rec { ether-metamask = fetchVersionedAddon rec {

View 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";
}