firefox-extensions.ctrl-shift-c-should-copy: init at unstable-2023-03-04
This commit is contained in:
parent
041855dbc7
commit
1261a6f452
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user