93df2b837e
GitOrigin-RevId: 18d4025a8ee2f656d897505ccd0ba61a5b89bbea
21 lines
775 B
Nix
21 lines
775 B
Nix
{ invalidateFetcherByDrvHash, fetchFirefoxAddon, fetchurl, ... }:
|
|
|
|
{
|
|
simple = invalidateFetcherByDrvHash fetchFirefoxAddon {
|
|
name = "image-search-options";
|
|
# Chosen because its only 147KB
|
|
url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi";
|
|
sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg=";
|
|
};
|
|
overidden-source =
|
|
let
|
|
image-search-options = fetchurl {
|
|
url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi";
|
|
sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg=";
|
|
};
|
|
in
|
|
invalidateFetcherByDrvHash fetchFirefoxAddon {
|
|
name = "image-search-options";
|
|
src = image-search-options;
|
|
};
|
|
}
|