forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / build-support / fetchfirefoxaddon / tests.nix
bloba29f65c542adb7dc6758033bf6b5fa923acb3549
1 { testers, fetchFirefoxAddon, fetchurl, ... }:
4   simple = testers.invalidateFetcherByDrvHash fetchFirefoxAddon {
5     name = "image-search-options";
6     # Chosen because its only 147KB
7     url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi";
8     sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg=";
9   };
10   overridden-source =
11     let
12       image-search-options = fetchurl {
13         url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi";
14         sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg=";
15       };
16     in
17     testers.invalidateFetcherByDrvHash fetchFirefoxAddon {
18       name = "image-search-options";
19       src = image-search-options;
20     };