remove unused "default.nix.cmp" file
should have never been checked in
This commit is contained in:
@@ -1,46 +0,0 @@
|
|||||||
{ stdenv, lib
|
|
||||||
, fetchFromGitHub
|
|
||||||
, unstableGitUpdater
|
|
||||||
, zip
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "ctrl-shift-c-should-copy";
|
|
||||||
version = "unstable-2023-03-03";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "jscher2000";
|
|
||||||
repo = "Ctrl-Shift-C-Should-Copy";
|
|
||||||
rev = "d9e67f330d0e13fc3796e9d797f12450f75a8c6a";
|
|
||||||
hash = "sha256-AzH1rZFqEH8sovZZfJykvsEmCedEZWigQFHWHl6/PdE=";
|
|
||||||
};
|
|
||||||
|
|
||||||
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.";
|
|
||||||
longDescription = ''
|
|
||||||
it comes with several limitations:
|
|
||||||
- doesn't work on new-tab page
|
|
||||||
- doesn't work if the focus isn't on page content
|
|
||||||
- e.g. ctrl+shift+c from URL bar still brings up dev console, incorrectly.
|
|
||||||
|
|
||||||
the proper fix to disabling Ctrl+Shift+C seems to require compiling Firefox from source, as of their Quantum project post-2019.
|
|
||||||
'';
|
|
||||||
maintainer = with lib.maintainers; [ colinsane ];
|
|
||||||
};
|
|
||||||
}
|
|
Reference in New Issue
Block a user