mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 13:13:09 +00:00
Merge pull request #242041 from emilytrau/warp-terminal
warp-terminal: init at 0.2023.11.07.08.02.stable_00
This commit is contained in:
commit
bbe0a7c27e
35
pkgs/by-name/wa/warp-terminal/package.nix
Normal file
35
pkgs/by-name/wa/warp-terminal/package.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user