mochi/nixos/overlays/warp-terminal/default.nix

13 lines
398 B
Nix
Raw Permalink Normal View History

{ lib, ...}:
let
versions = lib.importJSON ./versions.json;
in
2024-07-27 14:46:16 -05:00
final: prev: {
warp-terminal = prev.warp-terminal.overrideAttrs (oldAttrs: {
2024-07-27 14:46:16 -05:00
inherit (versions.linux) version;
2024-07-01 08:47:45 -05:00
src = prev.fetchurl {
url = "https://releases.warp.dev/stable/v${versions.linux.version}/warp-terminal-v${versions.linux.version}-1-x86_64.pkg.tar.zst";
2024-07-27 14:46:16 -05:00
inherit (versions.linux) hash;
};
});
2024-07-27 14:46:16 -05:00
}