diff options
author | Emily Trau <emily@downunderctf.com> | 2023-07-07 21:16:38 +1000 |
---|---|---|
committer | Emily Trau <emily@downunderctf.com> | 2023-11-13 16:02:35 +1100 |
commit | d8dd4d92b4a103c08878846a629568fec0f7c59d (patch) | |
tree | baaa2bf73bb6f130d8aa1a9c38c0a6228657b2b5 | |
parent | 5d50cc4fd51502cfec4c349d91b02600dfcc7654 (diff) |
warp-terminal: init at 0.2023.11.07.08.02.stable_00
-rw-r--r-- | pkgs/by-name/wa/warp-terminal/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/wa/warp-terminal/package.nix b/pkgs/by-name/wa/warp-terminal/package.nix new file mode 100644 index 000000000000..4b78fa9b9ce3 --- /dev/null +++ b/pkgs/by-name/wa/warp-terminal/package.nix @@ -0,0 +1,35 @@ +{ lib +, stdenvNoCC +, fetchurl +, undmg +}: +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "warp-terminal"; + version = "0.2023.11.07.08.02.stable_00"; + + src = fetchurl { + url = "https://releases.warp.dev/stable/v${finalAttrs.version}/Warp.dmg"; + hash = "sha256-oGsoIzNlrknaZtrGWT3oUEzwJIutxB1wnAvxTzF6Fis="; + }; + sourceRoot = "."; + + nativeBuildInputs = [ undmg ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications + cp -r *.app $out/Applications + + runHook postInstall + ''; + + meta = with lib; { + description = "Rust-based terminal"; + homepage = "https://www.warp.dev"; + license = licenses.unfree; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + maintainers = with maintainers; [ emilytrau Enzime ]; + platforms = platforms.darwin; + }; +}) |