zellij: init at 0.5.1
This commit is contained in:
parent
2164917479
commit
f1df273a67
34
pkgs/tools/misc/zellij/default.nix
Normal file
34
pkgs/tools/misc/zellij/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, stdenv, installShellFiles, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "zellij";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zellij-org";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "102zw4napzx05rpmx6scl6il55syf3lw1gzmy1y66cg1f70sij4d";
|
||||
};
|
||||
|
||||
cargoSha256 = "121fsch0an6d2hqaq0ws9cm7g5ppzfrycmmhajfacfg6wbiax1m5";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
preCheck = ''
|
||||
HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion assets/completions/zellij.{bash,fish} --zsh assets/completions/_zellij
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal workspace with batteries included";
|
||||
homepage = "https://zellij.dev/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ therealansh ];
|
||||
};
|
||||
}
|
@ -9771,6 +9771,8 @@ in
|
||||
|
||||
zdelta = callPackage ../tools/compression/zdelta { };
|
||||
|
||||
zellij = callPackage ../tools/misc/zellij { };
|
||||
|
||||
zenith = callPackage ../tools/system/zenith {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user