66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
30 lines
793 B
Nix
30 lines
793 B
Nix
{ stdenv, fetchFromGitHub, Carbon, Cocoa, ScriptingBridge }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "spacebar";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "somdoron";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0v8v4xsc67qpzm859r93ggq7rr7hmaj6dahdlg6g3ppj81cq0khz";
|
|
};
|
|
|
|
buildInputs = [ Carbon Cocoa ScriptingBridge ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mkdir -p $out/share/man/man1/
|
|
cp ./bin/spacebar $out/bin/spacebar
|
|
cp ./doc/spacebar.1 $out/share/man/man1/spacebar.1
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A status bar for yabai tiling window management";
|
|
homepage = "https://github.com/somdoron/spacebar";
|
|
platforms = platforms.darwin;
|
|
maintainers = [ maintainers.cmacrae ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|