Merge pull request #86556 from cmacrae/pkgs/os-specific/darwin/spacebar
spacebar: init at v0.5.0
This commit is contained in:
commit
3e73635e51
30
pkgs/os-specific/darwin/spacebar/default.nix
Normal file
30
pkgs/os-specific/darwin/spacebar/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -6709,6 +6709,11 @@ in
|
||||
|
||||
sourceHighlight = callPackage ../tools/text/source-highlight { };
|
||||
|
||||
spacebar = callPackage ../os-specific/darwin/spacebar {
|
||||
inherit (darwin.apple_sdk.frameworks)
|
||||
Carbon Cocoa ScriptingBridge;
|
||||
};
|
||||
|
||||
spaceFM = callPackage ../applications/misc/spacefm { };
|
||||
|
||||
speech-denoiser = callPackage ../applications/audio/speech-denoiser {};
|
||||
|
Loading…
Reference in New Issue
Block a user