forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xbar: init at 2.1.7-beta (NixOS#209794)
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18146,6 +18146,13 @@ | |
matrix = "@qyriad:katesiria.org"; | ||
name = "Qyriad"; | ||
}; | ||
r17x = { | ||
email = "[email protected]"; | ||
github = "r17x"; | ||
githubId = 16365952; | ||
name = "Rin"; | ||
keys = [ { fingerprint = "476A F55D 6378 F878 0709 848A 18F9 F516 1CC0 576C"; } ]; | ||
}; | ||
r3dl3g = { | ||
email = "[email protected]"; | ||
github = "r3dl3g"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
lib, | ||
stdenvNoCC, | ||
fetchurl, | ||
undmg, | ||
}: | ||
|
||
stdenvNoCC.mkDerivation (finalAttrs: { | ||
pname = "xbar"; | ||
version = "2.1.7-beta"; | ||
|
||
src = fetchurl { | ||
url = "https://github.com/matryer/xbar/releases/download/v${finalAttrs.version}/xbar.v${finalAttrs.version}.dmg"; | ||
sha256 = "sha256-Cn6nxA5NTi7M4NrjycN3PUWd31r4Z0T3DES5+ZAbxz8="; | ||
}; | ||
|
||
sourceRoot = "xbar.app"; | ||
|
||
nativeBuildInputs = [ undmg ]; | ||
|
||
installPhase = '' | ||
runHook preInstall | ||
mkdir -p $out/Applications/xbar.app | ||
cp -R . $out/Applications/xbar.app | ||
runHook postInstall | ||
''; | ||
|
||
meta = { | ||
description = "Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)"; | ||
homepage = "https://xbarapp.com/"; | ||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; | ||
platforms = lib.platforms.darwin; | ||
maintainers = with lib.maintainers; [ r17x ]; | ||
license = lib.licenses.mit; | ||
}; | ||
}) |