diff options
| author | Fuwn <[email protected]> | 2024-10-10 22:16:39 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-10 22:16:39 -0700 |
| commit | d6ef222799b7d7e94666b8d3ef2106d232984827 (patch) | |
| tree | 69bcb6d3062a77184622c5b292f8d2c276c61636 /lib/zen-browser-bin.nix | |
| parent | feat(flake): bump yae (diff) | |
| download | tsutsumi-d6ef222799b7d7e94666b8d3ef2106d232984827.tar.xz tsutsumi-d6ef222799b7d7e94666b8d3ef2106d232984827.zip | |
refactor(zen-browser): use yae for dependency pinning
Diffstat (limited to 'lib/zen-browser-bin.nix')
| -rw-r--r-- | lib/zen-browser-bin.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/zen-browser-bin.nix b/lib/zen-browser-bin.nix index 8c6e952..c334366 100644 --- a/lib/zen-browser-bin.nix +++ b/lib/zen-browser-bin.nix @@ -18,7 +18,11 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -{ version, hash }: +{ + version, + hash ? "", + sha256 ? "", +}: { pkgs }: let desktopItem = pkgs.makeDesktopItem { @@ -79,7 +83,7 @@ pkgs.stdenv.mkDerivation rec { pname = "zen-browser-bin"; src = pkgs.fetchzip { - inherit hash; + inherit hash sha256; url = "https://github.com/zen-browser/desktop/releases/download/${version}/zen.linux-specific.tar.bz2"; }; |