firefox-extensions.i-still-dont-care-about-cookies: init at 1.1.4
This commit is contained in:
@@ -65,6 +65,7 @@ let
|
|||||||
'';
|
'';
|
||||||
} // args')).overrideAttrs (final: upstream: {
|
} // args')).overrideAttrs (final: upstream: {
|
||||||
passthru = (upstream.passthru or {}) // {
|
passthru = (upstream.passthru or {}) // {
|
||||||
|
unwrapped = addon;
|
||||||
withAttrs = attrs: wrapAddon addon (args // attrs);
|
withAttrs = attrs: wrapAddon addon (args // attrs);
|
||||||
withPostPatch = postPatch: final.passthru.withAttrs { inherit postPatch; };
|
withPostPatch = postPatch: final.passthru.withAttrs { inherit postPatch; };
|
||||||
# given an addon, repackage it without some `perm`ission
|
# given an addon, repackage it without some `perm`ission
|
||||||
@@ -116,6 +117,7 @@ in (lib.makeScope newScope (self: with self; {
|
|||||||
browserpass-extension = callPackage ./browserpass-extension { };
|
browserpass-extension = callPackage ./browserpass-extension { };
|
||||||
bypass-paywalls-clean = callPackage ./bypass-paywalls-clean { };
|
bypass-paywalls-clean = callPackage ./bypass-paywalls-clean { };
|
||||||
ctrl-shift-c-should-copy = callPackage ./ctrl-shift-c-should-copy { };
|
ctrl-shift-c-should-copy = callPackage ./ctrl-shift-c-should-copy { };
|
||||||
|
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 { };
|
||||||
|
|
||||||
ether-metamask = fetchVersionedAddon rec {
|
ether-metamask = fetchVersionedAddon rec {
|
||||||
|
@@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gitUpdater
|
||||||
|
, zip
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "i-still-dont-care-about-cookies";
|
||||||
|
version = "1.1.4";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "OhMyGuus";
|
||||||
|
repo = "I-Still-Dont-Care-About-Cookies";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-bs9Looh2fKmsT0/3rS5Ldta4wlOUc75DpGxwBc7yRmg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ zip ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
pushd src
|
||||||
|
zip -r $out ./*
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extid = "idcac-pub@guus.ninja";
|
||||||
|
updateScript = gitUpdater {
|
||||||
|
rev-prefix = "v";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/OhMyGuus/I-Still-Dont-Care-About-Cookies";
|
||||||
|
description = ''Debloated fork of the extension "I don't care about cookies"'';
|
||||||
|
maintainer = with lib.maintainers; [ colinsane ];
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user