mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-21 15:53:32 +01:00
chore: Clean up extension packages
This commit is contained in:
parent
0b44a17ca9
commit
44fecbf9e4
@ -13,14 +13,21 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-j6A/CQ56hKOLgaDcmJBVE9lThn8js4xDkj88wqIzBE8=";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 "$src" "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{5003e502-f361-4bf6-b09e-41a844d36d33}.xpi"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://addons.mozilla.org/en-US/firefox/addon/redlib/";
|
||||
description = "Redirect to Redlib with Farside";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
@ -13,14 +13,21 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-HbnGdqB9FB+NNtu8JPnj1kpswjQNv8bISLxDlfls+xQ=";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 "$src" "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/uBlock0@raymondhill.net.xpi"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/";
|
||||
description = "Efficient wide-spectrum content blocker";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
@ -13,14 +13,21 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-Ki6AbZeaW28tAYZWTIOU2HLq/9zlGyrms3z3LANsc5U=";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 "$src" "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{6b733b82-9261-47ee-a595-2dda294a4d08}.xpi"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://addons.mozilla.org/en-US/firefox/addon/yomitan/";
|
||||
description = "Japanese dictionary with Anki integration";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user