forked from mirrors/nixpkgs
Merge pull request #86411 from cmacrae/pkgs/os-specific/darwin/yabai
yabai: init at 2.4.3
This commit is contained in:
commit
a57cbb1c36
|
@ -1480,6 +1480,12 @@
|
|||
githubId = 848609;
|
||||
name = "Michael Bishop";
|
||||
};
|
||||
cmacrae = {
|
||||
email = "hi@cmacr.ae";
|
||||
github = "cmacrae";
|
||||
githubId = 3392199;
|
||||
name = "Calum MacRae";
|
||||
};
|
||||
cmcdragonkai = {
|
||||
email = "roger.qiu@matrix.ai";
|
||||
github = "cmcdragonkai";
|
||||
|
|
32
pkgs/os-specific/darwin/yabai/default.nix
Normal file
32
pkgs/os-specific/darwin/yabai/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, Carbon, Cocoa, ScriptingBridge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yabai";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "koekeishiya";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1a6pqms5kwdsvr9vcshfa000xf2f5a2qbp5qapx0b3wzclnchjbn";
|
||||
};
|
||||
|
||||
buildInputs = [ Carbon Cocoa ScriptingBridge ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/man/man1/
|
||||
cp ./bin/yabai $out/bin/yabai
|
||||
cp ./doc/yabai.1 $out/share/man/man1/yabai.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = ''
|
||||
A tiling window manager for macOS based on binary space partitioning
|
||||
'';
|
||||
homepage = https://github.com/koekeishiya/yabai;
|
||||
platforms = platforms.darwin;
|
||||
maintainers = [ maintainers.cmacrae ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -26117,6 +26117,11 @@ in
|
|||
|
||||
xzoom = callPackage ../tools/X11/xzoom {};
|
||||
|
||||
yabai = callPackage ../os-specific/darwin/yabai {
|
||||
inherit (darwin.apple_sdk.frameworks)
|
||||
Carbon Cocoa ScriptingBridge;
|
||||
};
|
||||
|
||||
yabause = libsForQt5.callPackage ../misc/emulators/yabause {
|
||||
freeglut = null;
|
||||
openal = null;
|
||||
|
|
Loading…
Reference in a new issue