mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
chunkwm: init at 0.4.9
This commit is contained in:
parent
2ef3b5200a
commit
6b363b3717
36
pkgs/os-specific/darwin/chunkwm/default.nix
Normal file
36
pkgs/os-specific/darwin/chunkwm/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchzip, Carbon, Cocoa, ScriptingBridge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chunkwm-${version}";
|
||||
version = "0.4.9";
|
||||
src = fetchzip {
|
||||
url = "http://github.com/koekeishiya/chunkwm/archive/v${version}.tar.gz";
|
||||
sha256 = "0w8q92q97fdvbwc3qb5w44jn4vi3m65ssdvjp5hh6b7llr17vspl";
|
||||
};
|
||||
|
||||
buildInputs = [ Carbon Cocoa ScriptingBridge ];
|
||||
outputs = [ "bin" "out" ];
|
||||
|
||||
buildPhase = ''
|
||||
for d in . src/chunkc src/plugins/*; do
|
||||
pushd $d
|
||||
buildPhase
|
||||
popd
|
||||
done
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $bin/bin $out/bin $out/lib/chunkwm/plugins
|
||||
cp src/chunkc/bin/chunkc $bin/bin/chunkc
|
||||
cp bin/chunkwm $out/bin
|
||||
cp plugins/*.so $out/lib/chunkwm/plugins
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tiling window manager for macOS based on plugin architecture";
|
||||
homepage = https://github.com/koekeishiya/chunkwm;
|
||||
platforms = platforms.darwin;
|
||||
maintainers = with maintainers; [ lnl7 ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -822,6 +822,10 @@ in
|
|||
|
||||
kwakd = callPackage ../servers/kwakd { };
|
||||
|
||||
chunkwm = callPackage ../os-specific/darwin/chunkwm {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa ScriptingBridge;
|
||||
};
|
||||
|
||||
kwm = callPackage ../os-specific/darwin/kwm { };
|
||||
|
||||
khd = callPackage ../os-specific/darwin/khd {
|
||||
|
|
Loading…
Reference in a new issue