bartender: init at 4.2.21
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
co-authored by
OTABI Tomoya
Pol Dellaiera
parent
b1434f14da
commit
6482536377
@@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
, undmg
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "bartender";
|
||||
version = "4.2.21";
|
||||
|
||||
src = fetchurl {
|
||||
name = "Bartender 4.dmg";
|
||||
url = "https://www.macbartender.com/B2/updates/${builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version}/Bartender%204.dmg";
|
||||
hash = "sha256-KL4Wy8adGiYmxaDkhGJjwobU5szpW2j7ObgHyp02Dow=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
dontFixup = true;
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
sourceRoot = "Bartender 4.app";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/Applications/Bartender\ 4.app
|
||||
cp -R . $out/Applications/Bartender\ 4.app
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Take control of your menu bar";
|
||||
longDescription = ''
|
||||
Bartender is an award-winning app for macOS that superpowers your menu bar, giving you total control over your menu bar items, what's displayed, and when, with menu bar items only showing when you need them.
|
||||
Bartender improves your workflow with quick reveal, search, custom hotkeys and triggers, and lots more.
|
||||
'';
|
||||
homepage = "https://www.macbartender.com";
|
||||
changelog = "https://www.macbartender.com/Bartender4/release_notes";
|
||||
license = with licenses; [ unfree ];
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with maintainers; [ stepbrobd ];
|
||||
platforms = [ "aarch64-darwin" "x86_64-darwin" ];
|
||||
};
|
||||
})
|
||||
@@ -26977,6 +26977,8 @@ with pkgs;
|
||||
ath9k-htc-blobless-firmware-unstable =
|
||||
callPackage ../os-specific/linux/firmware/ath9k { enableUnstable = true; };
|
||||
|
||||
bartender = callPackage ../os-specific/darwin/bartender { };
|
||||
|
||||
b43Firmware_5_1_138 = callPackage ../os-specific/linux/firmware/b43-firmware/5.1.138.nix { };
|
||||
|
||||
b43Firmware_6_30_163_46 = callPackage ../os-specific/linux/firmware/b43-firmware/6.30.163.46.nix { };
|
||||
|
||||
Reference in New Issue
Block a user