firefox-extensions.ctrl-shift-c-should-copy: init at unstable-2023-03-04

This commit is contained in:
Colin 2024-01-03 13:33:32 +00:00
parent 041855dbc7
commit 1261a6f452
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, lib
, fetchFromGitHub
, unstableGitUpdater
, zip
}:
stdenv.mkDerivation {
pname = "ctrl-shift-c-should-copy";
version = "unstable-2023-03-04";
src = fetchFromGitHub {
owner = "jscher2000";
repo = "Ctrl-Shift-C-Should-Copy";
rev = "d9e67f330d0e13fc3796e9d797f12450f75a8c6a";
hash = "sha256-8v/b8nft7WmPOKwOR27DPG/Z9rAEPKBP4YODM+Wg8Rk=";
};
nativeBuildInputs = [ zip ];
buildPhase = ''
zip -r extension.zip ./*
'';
installPhase = ''
install extension.zip $out
'';
passthru = {
extid = "ctrl-shift-c-copy@jeffersonscher.com";
updateScript = unstableGitUpdater { };
};
meta = {
homepage = "https://github.com/jscher2000/Ctrl-Shift-C-Should-Copy";
description = "Potential Firefox extension to intercept Ctrl+Shift+C, block opening developer tools, and copy the selection to the clipboard.";
maintainer = with lib.maintainers; [ colinsane ];
};
}

View File

@ -115,6 +115,7 @@ in (lib.makeScope newScope (self: with self; {
# `wget ...xpi`; `unar ...xpi`; `cat */manifest.json | jq '.browser_specific_settings.gecko.id'`
browserpass-extension = callPackage ./browserpass-extension { };
bypass-paywalls-clean = callPackage ./bypass-paywalls-clean { };
ctrl-shift-c-should-copy = callPackage ./ctrl-shift-c-should-copy { };
ether-metamask = fetchVersionedAddon rec {
extid = "webextension@metamask.io";