Merge pull request #86556 from cmacrae/pkgs/os-specific/darwin/spacebar

spacebar: init at v0.5.0
This commit is contained in:
Ryan Mulligan 2020-05-06 15:19:38 -07:00 committed by GitHub
commit 3e73635e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View 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;
};
}

View File

@ -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 {};